Commit Graph

17 Commits

Author SHA1 Message Date
Thilo Graf
660b18be51 CLuaInstCCWindow: try to fix window title align parameter
Additional (lua_Integer)CTextBox::NO_AUTO_LINEBREAK) overwrites
passed parameter and has no effect, because NO_AUTO_LINEBREAK is
already default.


Origin commit data
------------------
Commit: 27eb80eb5b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-10 (Wed, 10 May 2017)
2017-05-10 10:42:08 +02:00
Thilo Graf
810f5cd6d6 CLuaInstCCWindow: fix passed shadow paramater
Origin commit data
------------------
Commit: 1f978f01ad
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-09 (Tue, 09 May 2017)
2017-05-09 12:09:20 +02:00
Thilo Graf
abf123899d LUA-Api: add alignment parameter for text in window header
Possible modes are :
	* "DEFAULT" (left)
	* "CENTER"
	* "RIGHT"

TODO: doc


Origin commit data
------------------
Commit: a788eee298
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-31 (Fri, 31 Mar 2017)
2017-03-31 10:12:35 +02:00
Thilo Graf
616904958c CComponentsFooter: simplify implementation of button labels
button_label_l and button_label_s are now
merged to button_label_cc with prepared default values for text and locales.This type contains all possible
button label properties. Values for locales and string
are evaluated in setButtonLabels(), so it's possible to remove some
overloaded methodes.


Origin commit data
------------------
Commit: c766a970dc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-11 (Sat, 11 Mar 2017)
2017-03-11 00:45:25 +01:00
Michael Liebmann
d3ebbd72b9 lua cwindow.new: Fix draw small windows
- Ignore percent conversion of width and height
 to remain compatible with the Lua API


Origin commit data
------------------
Commit: 2d30ef10d8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-28 (Tue, 28 Feb 2017)

Origin message was:
------------------
lua cwindow.new: Fix draw small windows

 - Ignore percent conversion of width and height
  to remain compatible with the Lua API
2017-02-28 23:31:58 +01:00
vanhofen
897dc6ae8c colors: add COL_FRAME wrapper
Origin commit data
------------------
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper
2016-10-10 14:19:54 +02:00
Michael Liebmann
8a433a668d CLuaInstCCWindow::CCWindowNew: use setButtonLabels real footer width
Origin commit data
------------------
Commit: c566466ff1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-02 (Fri, 02 Sep 2016)
2016-09-02 17:24:32 +02:00
Jacek Jendrzej
a8292eae0b src/gui/lua/lua_cc_window.cpp use setButtonLabels real window width
Origin commit data
------------------
Commit: 52d16769f1
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-22 (Mon, 22 Aug 2016)
2016-08-22 20:59:06 +02:00
Jacek Jendrzej
fcfb4c41e5 lua_cc_window: add setDimensionsAll option
Origin commit data
------------------
Commit: 5c26de095c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-08-21 18:29:10 +02:00
vanhofen
7a9e82e7ed lua_cc_*: use COL_SHADOW for shadows
Origin commit data
------------------
Commit: b1eab6a23e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)

Origin message was:
------------------
- lua_cc_*: use COL_SHADOW for shadows
2016-08-16 08:37:54 +02:00
Jacek Jendrzej
419b55bb97 avoid null pointer use
Origin commit data
------------------
Commit: 8fb4e1b78e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-21 (Thu, 21 Apr 2016)
2016-04-21 18:14:46 +02:00
Michael Liebmann
b23ab6dafb CLuaInstance: Precise error message for obsolete hide() parameter
- Supplement for commit 8882b8913b


Origin commit data
------------------
Commit: f12e49e720
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-01 (Fri, 01 Jan 2016)
2016-01-01 14:43:59 +01:00
Michael Liebmann
7aa6fa2577 CLuaInstance: Fix commit 27699ff590
- Use return value from checkMagicMask() for color


Origin commit data
------------------
Commit: a7790ce049
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-01 (Fri, 01 Jan 2016)
2016-01-01 14:43:59 +01:00
Michael Liebmann
8882b8913b CLuaInstance: Display warning when using a obsolete parameter...
...in cwindow/ctext/cpicture:hide()


Origin commit data
------------------
Commit: 75631a97f1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-28 (Mon, 28 Dec 2015)
2015-12-28 16:24:24 +01:00
Thilo Graf
962b28b232 lua instances: adopt for last rebases with splitted lua source files
TODO: check/fix lua functionality, not tested yet


Origin commit data
------------------
Commit: 7b28c80b74
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-12 (Sat, 12 Dec 2015)
2015-12-27 14:42:28 +01:00
Michael Liebmann
01a7c0b58b CLuaInstance: Fix and unified script function calls
- No api changes, code only


Origin commit data
------------------
Commit: 9e331ee4e3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-23 (Wed, 23 Dec 2015)
2015-12-23 08:29:15 +01:00
Michael Liebmann
c0533f1946 CLuaInstance: Move ccomponents functions in separate classes / files
- cwindow (CComponentsWindow)
 - ctext (CComponentsText)
 - cpicture (CComponentsPicture)
 - signalbox (CSignalBox)

 - No api changes, code only


Origin commit data
------------------
Commit: ad17505888
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)

Origin message was:
------------------
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