Commit Graph

52 Commits

Author SHA1 Message Date
Thilo Graf
3e9fefa8c4 change to v1.94
add hourglass and hint wigets

documentation:
https://wiki.tuxbox-neutrino.org/wiki/Kategorie:Lua:Neutrino-API:Widgets:en
2021-11-01 17:13:58 +01:00
svenhoefer
e904e2191f - luainstance: allow access to defined directories
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-24 10:19:15 +02:00
Jacek Jendrzej
391197ab4f add lua screenshot; possible parameters: osd and video=[false|true] and name=picname in /tmp dir 2021-08-01 15:17:05 +02:00
Thilo Graf
b693932075 lua-api: update version 1.90->1.91
luainstance: add RC_back see: c46bc57
2021-07-14 22:32:19 +02:00
Jacek Jendrzej
4b72847047 lua_curl: add option to modify header; example: httpheaders={'Accept:application/json', 'authorization:Bearer ' .. token} 2021-04-05 18:52:28 +02:00
Thilo Graf
50a18cf1ec lua_api_version.h: update version 1.88->1.89
Added setup key see: 77de69f57f
2021-03-10 10:54:52 +01:00
Thilo Graf
71a98d011b lua_api_version.h: update version 1.87->1.88 2021-02-09 12:20:40 +01:00
Thilo Graf
4c63c6ffa8 lua: add function to set background image to window body
update to v1.87
2020-10-05 10:54:37 +02:00
Thilo Graf
626305cc29 lua: Complete list of available fonts 2020-09-30 19:41:40 +02:00
Thilo Graf
da1051cd6f update: set lua api version to 1.85
add luajit
2020-09-17 16:47:35 +02:00
Thilo Graf
853966d89a lua api: add function setSelected() for lua menu handler, update to v1.84 2019-11-28 21:07:04 +01:00
Jacek Jendrzej
fa951c883c movieplayer arm: add option to play separate audio file 2019-11-03 18:42:05 +01:00
Thilo Graf
06e6fd5904 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.
2019-09-10 10:40:53 +02:00
Thilo Graf
e74181dee0 lua_messagbox.cpp: add parameter for text allign 2019-09-10 10:40:53 +02:00
Thilo Graf
2b0b867e2e lua API: change to version 1.80 2018-10-28 19:41:22 +01:00
FlatTV
1652faecff OSD Menu: Add progressbar color
Signed-off-by: Thilo Graf <dbt@novatux.de>

- themes/Makefile.am unchanged, build was broken
- whitespace errors fixed
- unnecessary comments removed
- bump lua api version, was missed
2018-04-11 15:58:20 +02:00
M. Liebmann
9feb8efd23 CLuaInstCurl: Add script functions
- encodeUri
 - decodeUri
 - setUriData
 - Set Lua api version to 1.78
2017-10-23 07:54:19 +02:00
M. Liebmann
100fa78952 CLuaInstCurl: Fix CurlDownload() to send POST data
- Set Lua api version to 1.77
2017-10-23 07:54:19 +02:00
Thilo Graf
5b12952d8b CLuaInstCCText: try to fix return value of CCTextGetLines()
Init was missing.
2017-06-15 01:01:55 +02:00
Thilo Graf
27eb80eb5b 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.
2017-05-10 10:42:08 +02:00
Thilo Graf
1f978f01ad CLuaInstCCWindow: fix passed shadow paramater 2017-05-09 12:09:20 +02:00
svenhoefer
3669130b14 - luainstance: add missing COL_SCROLLBAR colors 2017-04-22 17:02:48 +02:00
Thilo Graf
83cfd68f88 Lua: try to implement progresswindow 2017-03-31 10:12:35 +02:00
Thilo Graf
a788eee298 LUA-Api: add alignment parameter for text in window header
Possible modes are :
	* "DEFAULT" (left)
	* "CENTER"
	* "RIGHT"

TODO: doc
2017-03-31 10:12:35 +02:00
svenhoefer
6eb1bb1ea4 - luainstance: add offsets to lua; set Lua api version to 1.70 2017-03-02 23:00:49 +01:00
M. Liebmann
6166f4a6f4 CLuaInstance: Add script fumction 'scale2Res'
- Set Lua api version to 1.69
2017-02-27 00:24:34 +01:00
M. Liebmann
e92df63a4a CLuaInstVideo::PlayFile: Infoviewer was not displayed when InfoFunc was set
- Fix commit 1aee964c14
 - Set Lua api version to 1.68
2016-12-02 00:21:58 +01:00
M. Liebmann
1576681543 CLuaInstCCText: Add various script functions
getLines()
 getLines(test)
 setDimensionsAll(x, y, w, h)

 - Set Lua api version to 1.67
2016-12-01 18:27:37 +01:00
M. Liebmann
1aee964c14 lua: Fix InfoFunc for displaying information in the movieplayer
- Fix for commit 644ab18844
 - Set Lua api version to 1.66
2016-12-01 14:28:21 +01:00
vanhofen
be40e67b70 - colors: add COL_PROGRESSBAR wrapper 2016-10-10 14:19:55 +02:00
vanhofen
6629b64d6c - colors: add COL_SCROLLBAR_PASSIVE wrapper 2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1 - colors: add COL_SCROLLBAR_ACTIVE wrapper 2016-10-10 14:19:54 +02:00
svenhoefer
75fe6e407d - colors: add COL_FRAME wrapper 2016-10-10 14:19:54 +02:00
Thilo Graf
f4387ccfa7 CLuaInstCCSignalbox: fix compatibility
Parameter for frontend was changed, is now NULL.
older plugins could expect an instance and could show
emtpty signal bars.
2016-10-01 22:10:25 +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
b1ab3e2290 Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo
- Set Lua api version to 1.59
2016-09-08 08:45:15 +02:00
svenhoefer
80d1e9b6cf - lua: add pin-input; set lua api version to 1.58 2016-09-08 00:09:52 +02:00
svenhoefer
84dfce8018 - lua: add RC_timeout to keyname table; set lua api version to 1.57 2016-09-06 01:11:16 +02:00
svenhoefer
0fa4486077 - lua: add stand-alone stringinput; set lua api version to 1.56 2016-09-05 23:49:37 +02:00
M. Liebmann
52c489f211 lua_filehelpers.cpp: Add lua script function 'exist()'
- Set Lua api version to 1.55
2016-09-05 23:46:02 +02:00
M. Liebmann
95a078742b lua_filehelpers.cpp: Add lua script function 'ln()'
- Set Lua api version to 1.54
2016-09-05 23:46:02 +02:00
M. Liebmann
b50886faca lua_filehelpers.cpp: Add lua script function 'readlink()'
- Set Lua api version to 1.53
2016-09-05 23:46:02 +02:00
M. Liebmann
906e9a2156 lua_filehelpers.cpp: Add lua script function 'mkdir()'
- Set Lua api version to 1.52
2016-09-05 23:46:01 +02:00
M. Liebmann
631708f380 lua_filehelpers.cpp: Add lua script function 'rmdir()'
- Set Lua api version to 1.51
2016-09-05 23:46:01 +02:00
M. Liebmann
ab322416dc lua_filehelpers.cpp: Add lua script function 'touch()'
- Set Lua api version to 1.50
2016-09-05 23:46:01 +02:00
M. Liebmann
ab7d90de3f lua_filehelpers.cpp: Add lua script function 'chmod()'
- Set Lua api version to 1.49
2016-09-05 23:46:01 +02:00
M. Liebmann
270cd318ec lua_filehelpers.cpp: Add lua script function 'cp()'
- Set Lua api version to 1.48
2016-09-05 23:46:01 +02:00
svenhoefer
8d014c6f76 - lua_menue: allow user definable return values
This concerns:
* CLuaMenuFilebrowser::exec()
* CLuaMenuStringinput::exec()
* CLuaMenuKeyboardinput::exec()
2016-09-01 09:44:13 +02:00
M. Liebmann
c990411575 Complete missing lua api versions:
- colors: some internal renamings (bc39d1e) v1.40
 - colors: make footer background color configurable (cc5258e) v1.41
 - luainstance: add missing entry for shadow color (a9446a0) v1.42
 - cc_text: if dx and dy is not set and text have parent use Height
   (a648dab) v1.43
 - cc_window: dont paint over screen size (9120176) v1.44
 - cpicture: Add getHeight/getWidth option (d5051a1) v1.45
 - cpicture: Add setDimensionsAll option (5c26de0) v1.46

 - Set Lua api version to 1.46

 See also neutrino-hd wiki:
 https://wiki.neutrino-hd.de/wiki/Neutrino_HD_Lua_API#Changelog
2016-08-22 04:31:29 +02:00
M. Liebmann
cb7895d981 CLuaInstMisc: Add getTimeOfDay() script function
- Set Lua api version to 1.39
2016-01-21 17:42:07 +01:00