Commit Graph

6 Commits

Author SHA1 Message Date
Thilo Graf
e74181dee0 lua_messagbox.cpp: add parameter for text allign 2019-09-10 10:40:53 +02:00
svenhoefer
3739e712d4 - lua: fix hintbox/messagebox default width
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-28 19:41:22 +01:00
Thilo Graf
dde298b1b7 CMsgBox: rework msgbox classes with Window class implementation
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.

TODO: fix and optimize details
2016-10-24 10:31:24 +02:00
M. Liebmann
6f7ee35f24 CLuaInstMessagebox::MessageboxExec: Fix 'show_buttons' handling 2016-09-21 08:20:34 +02:00
TangoCash
24dd6a8c22 lua: Fix segfault in messagebox.exec at 'align' and 'default'
- Set default values for 'show_buttons' and 'default_button'
   to the correct value
 - Set Lua api version to 1.60

Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
2016-09-10 19:07:51 +02:00
M. Liebmann
b904febf6a CLuaInstance: Move msg box functions in separate classes / files
- hintbox
 - messagebox

 - No api changes, code only
2015-12-12 10:42:28 +01:00