Commit Graph

12 Commits

Author SHA1 Message Date
Jacek Jendrzej
c37ef21912 2:supplement to a648daba75 2016-08-20 13:59:15 +02:00
Jacek Jendrzej
27ddf8935d supplement to a648daba75 2016-08-20 09:54:12 +02:00
Jacek Jendrzej
a648daba75 src/gui/lua/lua_cc_text.cpp if dx and dy is not set and text have parent use Height and Width size from parent 2016-08-19 21:17:45 +02:00
svenhoefer
b1eab6a23e - lua_cc_*: use COL_SHADOW for shadows 2016-08-16 08:37:54 +02:00
Stefan Seyfried
aac438745c lua_cc_text: fix type to allow compilation with recent gcc 2016-01-13 20:18:56 +01:00
M. Liebmann
f12e49e720 CLuaInstance: Precise error message for obsolete hide() parameter
- Supplement for commit 75631a97f1
2016-01-01 14:43:59 +01:00
M. Liebmann
a7790ce049 CLuaInstance: Fix commit e85f64d733
- Use return value from checkMagicMask() for color
2016-01-01 14:43:59 +01:00
M. Liebmann
75631a97f1 CLuaInstance: Display warning when using a obsolete parameter...
...in cwindow/ctext/cpicture:hide()
2015-12-28 16:24:24 +01:00
Thilo Graf
7b28c80b74 lua instances: adopt for last rebases with splitted lua source files
TODO: check/fix lua functionality, not tested yet
2015-12-27 14:42:28 +01:00
M. Liebmann
9e331ee4e3 CLuaInstance: Fix and unified script function calls
- No api changes, code only
2015-12-23 08:29:15 +01:00
M. Liebmann
e3fdcaec99 CLuaInstCCText::CCTextScroll: Add Parameter 'pages'
- By pages parameter the number of pages can be specified
   to be scrolled
 - Set Lua api version to 1.30

Example:
	ct = ctext.new{...}
	...
	ct:scroll{dir="down", pages=2};
2015-12-14 22:34:53 +01:00
M. Liebmann
ad17505888 CLuaInstance: Move ccomponents functions in separate classes / files
- cwindow   (CComponentsWindow)
 - ctext     (CComponentsText)
 - cpicture  (CComponentsPicture)
 - signalbox (CSignalBox)

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