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
b945336a79
- jsoncpp: update to current version 1.8.0
...
Use amalgamated src from https://github.com/open-source-parsers/jsoncpp
2017-03-28 21:23:10 +02:00
Thilo Graf
c766a970dc
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.
2017-03-11 00:45:25 +01:00
svenhoefer
75ff8687dd
- luainstance: re-add typo TO_WIDE to stay backward compatible
2017-03-03 08:57:42 +01:00
svenhoefer
6afe247bc3
- luainstance: add missing RADIUS_NONE; fix typo in dynfont handling
2017-03-03 08:55:35 +01: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
2d30ef10d8
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
M. Liebmann
6166f4a6f4
CLuaInstance: Add script fumction 'scale2Res'
...
- Set Lua api version to 1.69
2017-02-27 00:24:34 +01:00
Stefan Seyfried
2303d94300
replace fontrenderer.h include with forward declaration
...
in order to flatten the build dependency tree further, include
fontrenderer.h directly where needed, in header files a forward
declaration is enough
2017-02-07 17:23:42 +01:00
Stefan Seyfried
e490f84ea8
replace framebuffer.h include with forward declaration
...
instead of including framebuffer.h almost everywhere, replace it with
class CFrameBuffer forward declarations and/or generic system includes.
Add a hack to define fb_pixel_t to config.h (one reason for
framebuffer.h includes was the fb_pixel_t define)
2017-02-07 17:23:42 +01:00
Jacek Jendrzej
f4f351e9ba
some inits
2017-01-30 17:22:41 +01:00
Jacek Jendrzej
293d32c776
src/gui/lua/lua_curl.cpp set dumb cookie for dumb 403 forbidden
2017-01-28 17:55:14 +01:00
Jacek Jendrzej
7fee7784ae
src/gui/lua/lua_curl.cpp ACCEPT_ENCODING for gzip compressed data, need build libcurl with --with-zlib
2016-12-22 23:09:07 +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
Thilo Graf
e19536fe99
Includes: remove unused includes
2016-10-26 10:25:07 +02: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
svenhoefer
104d21e784
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
2016-10-10 14:19:55 +02: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
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
svenhoefer
2911e638c7
- add listModeKey() function to simplify these calls
2016-09-09 10:42:46 +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
Jacek Jendrzej
6aab8c6d12
src/gui/lua/lua_filehelpers.cpp fix possible segfault if string argument is not a string (nil)
2016-09-07 18:05:01 +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
de07369d68
Use DebugInfo functions in CFileHelpers::cp / lua cp
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
M. Liebmann
295ca1f7c9
src/gui/lua: Add lua_filehelpers.cpp
2016-09-05 23:46:01 +02:00
M. Liebmann
c566466ff1
CLuaInstCCWindow::CCWindowNew: use setButtonLabels real footer width
2016-09-02 17:24:32 +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
Jacek Jendrzej
52d16769f1
src/gui/lua/lua_cc_window.cpp use setButtonLabels real window width
2016-08-22 20:59:06 +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
Jacek Jendrzej
5c26de095c
lua_cc_window: add setDimensionsAll option
2016-08-21 18:29:10 +02:00
Jacek Jendrzej
d5051a100f
lua_cc_picture: add cpicture getHeight / getWidth option
2016-08-21 16:17:28 +02:00
Jacek Jendrzej
c37ef21912
2:supplement to a648daba75
2016-08-20 13:59:15 +02:00