Commit Graph

17 Commits

Author SHA1 Message Date
Thilo Graf
d75571be93 lua_cc_text.cpp: use 'text_mode' instead 'mode' in api
Prevent possible ambiguity of text mode parameter.
Parameter 'mode' deprecated, but still available for
downward compatibility.


Origin commit data
------------------
Commit: d0eab5782c
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-09-10 (Tue, 10 Sep 2019)
2019-09-10 20:59:19 +02:00
Thilo Graf
af77d15023 CLuaInstCCText: try to fix return value of CCTextGetLines()
Init was missing.


Origin commit data
------------------
Commit: 5b12952d8b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:55 +02:00
Jacek Jendrzej
da1903c11d src/gui/lua/lua_cc_text.cpp avoid segfault
Origin commit data
------------------
Commit: ffe986f36b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-05-17 (Wed, 17 May 2017)
2017-05-17 22:15:15 +02:00
Michael Liebmann
23583e07e4 CLuaInstCCText: Add various script functions
getLines()
 getLines(test)
 setDimensionsAll(x, y, w, h)

 - Set Lua api version to 1.67


Origin commit data
------------------
Commit: 1576681543
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-12-01 (Thu, 01 Dec 2016)
2016-12-01 18:27:37 +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
Jacek Jendrzej
f1912db720 2:supplement to 5ac8d0085b
Origin commit data
------------------
Commit: c37ef21912
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-20 (Sat, 20 Aug 2016)

Origin message was:
------------------
2:supplement to 5ac8d0085b
2016-08-20 13:59:15 +02:00
Jacek Jendrzej
882bdf5b2d supplement to 5ac8d0085b
Origin commit data
------------------
Commit: 27ddf8935d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-20 (Sat, 20 Aug 2016)
2016-08-20 09:54:12 +02:00
Jacek Jendrzej
5ac8d0085b 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
Origin commit data
------------------
Commit: a648daba75
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-19 (Fri, 19 Aug 2016)
2016-08-19 21:17:45 +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
Stefan Seyfried
3bf482facf lua_cc_text: fix type to allow compilation with recent gcc
Origin commit data
------------------
Commit: aac438745c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-28 (Mon, 28 Dec 2015)
2016-01-13 20:18:56 +01: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
af2694da72 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};


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

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