Commit Graph

7168 Commits

Author SHA1 Message Date
Thilo Graf
1446f15d4b CMovieBrowser: try to fix paint of channellogo, and screenshot preview
Logo was not hided before next logo was painted.
Screenshot was lost after scrolling in movieinfo section (called with
yellow button)
2015-12-27 14:42:29 +01:00
Thilo Graf
0f7985c95c CAudioPlayerGui:try to fix infocklock view in audioplayer.
after closed screensaver, infoclock was painted. That looks not good.
This should fix this.
2015-12-27 14:42:29 +01:00
Thilo Graf
58337b71f1 CTimeOSD: disable setHeight() in CTimeOSD, height is bound to settings 2015-12-27 14:42:29 +01:00
Thilo Graf
6c8bd66801 CScreenSaver: add signal/slot handler OnBeforeStart(), try to fix infoclock
In some constelations it is not required to enable infoclock after close
screensaver. So it is possible to cotrol this from other objects.
2015-12-27 14:42:28 +01:00
Thilo Graf
d77b7b2995 tmp revert: remove osd setup for gradients 2015-12-27 14:42:28 +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
Thilo Graf
77518102f8 CMenuWidget: rework cc modules implementation
- don't create header instance on every widget paint.
- remove parameters from hide(), not needed anymore
- add signal/slot OnBeforePaint(), OnAfterHide()
- try to fix infoclock handling
- add member ResetModules()
- allow separator to paint with gradient
2015-12-27 14:42:28 +01:00
Thilo Graf
523b273af8 Colors: init global color gradient implementation 2015-12-27 14:42:27 +01:00
Thilo Graf
86b4c81cab CBEChannelWidget/CBEChannelSelectWidget: remove setShadowOnOff()
Name and function was changed
2015-12-27 14:42:27 +01:00
Thilo Graf
0146511f38 components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
  enable/disable clock with external timer events,
  tryed to fix some display issues related with infoclock and
  time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
  cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
  arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Thilo Graf
a2171dad4a CTextBox: add/modify methodes for screen handlings
- split hasChanged() into hasChangedPos(), hasChangedDim()
- add return value bool to enableBackgroundPaint(), enableSaveScreen()
- add clearScreenBuffer(), for unified usage in destructor and functions
- add OnAfterRefresh() as a signal/slot handler, this allows to use
  external methodes as callbacks after painted text
2015-12-27 14:42:26 +01:00
max10
a886d49565 fix src/system/helpers.cpp: PRIx64 2015-12-27 14:20:17 +01:00
Jacek Jendrzej
322b58a598 fix compil fix change 64 to 32 2015-12-27 13:58:32 +01:00
Jacek Jendrzej
c565223bc7 src/gui/streaminfo2.cpp fix box width 2015-12-26 19:13:17 +01:00
Jacek Jendrzej
fba05d0e80 src/gui/streaminfo2.cpp change sprintf to snprintf (fix possible segfault) 2015-12-26 18:37:26 +01:00
Jacek Jendrzej
93e302211e src/gui/imageinfo.cpp fix heap-use-after-free 2015-12-26 17:36:58 +01:00
Jacek Jendrzej
ddb3c15d4b some gcc5 compil fixes 2015-12-26 17:03:42 +01:00
M. Liebmann
31f2f1275a CLuaInstance: Fixes occasional problems when exiting the movie player
Reduces debug output in curl
2015-12-25 07:51:09 +01:00
M. Liebmann
6b99596c37 CLuaInstance: Fix commit 9e331ee4e3 2015-12-25 03:54:38 +01:00
svenhoefer
1e5e30ab2b - menue: don't disable whole settings and service menu in mp mode;
just disable channel-scan and software-update in service menu
2015-12-23 10:16:26 +01:00
svenhoefer
ceb3344a70 - update: localize question of flashing image 2015-12-23 10:16:26 +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
svenhoefer
59261b1cf6 - moviebrowser: fix overlapped menus when de/activating drives 2015-12-22 21:46:46 +01:00
Thilo Graf
aec64e8c6c personalize.cpp: add doc for disable conditions 2015-12-22 13:14:18 +01:00
svenhoefer
92abb85a9d - menue: fix format warning 'too many arguments' 2015-12-22 13:14:18 +01:00
svenhoefer
809274d750 - menue: don't paint hotkey icons on deactivated items; use dummy icon 2015-12-22 13:14:18 +01:00
Thilo Graf
1f95f38d32 Main Menu: try to add dynamic possibility to disable items on runtime
The issue is that it's not really possible to disable/enable menu items on
runtime with an existant menu widget instance eg with personalized menu items.

Here we need a dynamic solution to disable items depends on stb-mode (mode_ts, mode_tv etc)
This should be solved here with an additional parameter for personalized items.

New paramter is named: disable_condition
Possible alvailable values at the moment are:

  DCOND_MODE_NONE as default

  DCOND_MODE_TV
  DCOND_MODE_RADIO
  DCOND_MODE_TS

includes some improvements by Sven

- menue: remove old_iconName handling
  ... icons should be painted on deactivated items too

- menue: try to fix position <-> selection missmatch
2015-12-22 13:14:18 +01:00
M. Liebmann
6b6dff36d6 CLuaInstCurl: Fix compiler warning 2015-12-22 13:14:18 +01:00
M. Liebmann
6f939800b6 CLuaInstance: Add multiple script functions for mute icon & volume
- Functions: enableMuteIcon, isMuted, AudioMute, setVolume, getVolume
 - This allows to save volume/mute status at plugin start
   and restore it on exit.

 - Set Lua api version to 1.35
2015-12-22 12:00:24 +01:00
M. Liebmann
ee73678d8f CLuaInstance: Add linux pthread support
- code ported from lua-llthreads2
   (https://github.com/moteus/lua-llthreads2)
 - code in neutrino integrated for use of lua neutrino api in threads
 - add thread::cancel() function

 - Set Lua api version to 1.34
2015-12-22 12:00:24 +01:00
svenhoefer
beb324c606 - moviebrowser: small changes in locales 2015-12-19 22:15:03 +01:00
svenhoefer
520660296b - personalize: add deactivated items too; ...
... visibility is controlled in personalization itself
2015-12-19 18:06:23 +01:00
Jacek Jendrzej
d6246131d2 src/gui/channellist.cpp fix possible segfault after edit mode (heap-buffer-overflow) 2015-12-19 20:18:49 +01:00
svenhoefer
beeeeb224a - moviebrowser: update and localize help box 2015-12-16 22:52:27 +01:00
svenhoefer
32410200c1 - movieplayer: add color keys to bookmark menu 2015-12-16 13:43:44 +01:00
defans
38e87e1612 - moviebrowser: fix order of color buttons 2015-12-16 12:44:57 +01:00
Jacek Jendrzej
c08a339484 src/gui/streaminfo2.cpp add show channel realname, thx Janus 2015-12-16 12:00:35 +01:00
svenhoefer
eb7c044b05 - movieplayer: show correct key in bookmark hints; smoother locales 2015-12-16 11:34:09 +01:00
M. Liebmann
37e8c328c5 CLuaInstMisc:: Add script function postMsg() to send a neutrino message
- Currently possible message: POSTMSG.STANDBY_ON
 - Set Lua api version to 1.33
2015-12-15 22:21:42 +01:00
Jacek Jendrzej
3a64f6c230 src/gui/streaminfo2.cpp show max 16 apids 2015-12-15 20:03:07 +01:00
Jacek Jendrzej
db2932fa7a similar patch to 9b2aec781c, thx max_10 2015-12-15 19:25:18 +01:00
Jacek Jendrzej
4b7b43f028 fix compil use good oprator 2015-12-15 17:03:14 +01:00
[CST] Focus
72efa20dfa neutrino.cpp: try to fix stopping by signal while playback in progress 2015-12-15 17:20:42 +03:00
svenhoefer
9b2aec781c - streaminfo: align background color; thx to max_10 2015-12-15 12:05:53 +01:00
M. Liebmann
e4de37f1bb CMoviePlayerGui: Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin...
...when tv/radio button are pressed on remote control

 - Set Lua api version to 1.32
2015-12-15 11:45:48 +01:00
svenhoefer
109f3e5d9c - yWeb: add locale for timer type 2015-12-15 09:05:21 +01:00
svenhoefer
736343d35b - neutrino: press tv/radio key to return to plain tv/radio 2015-12-15 08:15:17 +01:00
svenhoefer
47eb2e27ec - infoviewer_bb: don't paint deactivated buttons 2015-12-15 08:15:17 +01:00
svenhoefer
a52a0e6c1b - infoviewer: do always show all buttons; enable is controlled by usermenu 2015-12-15 08:15:17 +01:00
svenhoefer
6fc8fb2bee - movieplayer: change usermenu call; use existing instance 2015-12-15 08:15:17 +01:00