Commit Graph

893 Commits

Author SHA1 Message Date
Stefan Seyfried
f99c3ebc37 Revert "CShellWindow: fix "OK" button after shell window"
This reverts commit 8e43498ea5.

Thilo fixed / worked around this issue differently.
2016-01-08 19:38:07 +01:00
svenhoefer
3d4bb41062 - textbox: allow users setting screen_StartX/Y = 0 2016-01-07 13:18:49 +01:00
Thilo Graf
467e888458 CShellWindow: use current window color for result button 2016-01-05 15:06:19 +01:00
Stefan Seyfried
f8fc83c496 CShellWindow: do not dereference NULL pointers
additionally, try to shorten the debug messages slightly and make the
output more useful in the error case for my_popen()

Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-05 15:06:18 +01:00
svenhoefer
a6537c766b CShellWindow: fix textbox position
Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-03 21:49:39 +01:00
Stefan Seyfried
8e43498ea5 CShellWindow: fix "OK" button after shell window
Allocating the CComponentsButton object on the stack does not really work
here, because it goes immediately out of scope and is thus deleted.
2016-01-03 18:56:19 +01:00
Stefan Seyfried
0b8365f908 CShellWindow: do not dereference NULL pointers
additionally, try to shorten the debug messages slightly and make the
output more useful in the error case for my_popen()
2016-01-02 10:57:21 +01:00
Stefan Seyfried
b837d8697b Merge remote-tracking branch 'uncool/cst-next' 2015-12-28 16:15:14 +01:00
Thilo Graf
e1e8cb0142 CShellWindow/COPKGManager: rework shell shell mode handling
Modes were handled with bool values inside manager and this is not really
enough. Now we use the real parameters for more flexibility.
2015-12-28 12:13:50 +01:00
Thilo Graf
5f1708b6e1 CShellWindow: use my_system instead system, avoids possible errors 2015-12-28 12:13:49 +01:00
Thilo Graf
cc49d5a714 CShellWindow: disable not required screean saving on text paint 2015-12-28 12:13:49 +01:00
Thilo Graf
ed5bbdc540 CShellWindow/COPKGManager: handle some error from shell output
TODO: add missing handlers
2015-12-28 12:13:48 +01:00
Thilo Graf
982fbb962e CShellWindow: use slots for ACKNOWLEDGE_EVENT mode results 2015-12-28 12:13:47 +01:00
Thilo Graf
4909844ad6 COPKGManager: add member to handle line of shell lines
prepared for use as callback in shell window class, currently
it is not possible to get line output from shellwindow object, this
should help soon

also added ne locales
2015-12-28 12:13:40 +01:00
Thilo Graf
f4bc1c8cb7 CShellWindow: reduce window size
In some cases screen could be too small and some lines are cutted.
2015-12-28 12:13:37 +01:00
Thilo Graf
3896d7ceec CShellWindow: add debug output for error ident 2015-12-28 12:13:37 +01:00
Thilo Graf
9f565a2dd0 CShellWindow: use full screen for shell window 2015-12-28 12:13:36 +01:00
Thilo Graf
cd7f4bc79c CShellWindow: use internal debug functionality, set init value for pid 2015-12-28 12:13:36 +01:00
Thilo Graf
04ad939ea7 CShellWindow: optimize error review after error message
Show close button in window, give user possibility to read error listing
before close the window!
2015-12-28 12:13:36 +01:00
Thilo Graf
14779cce55 CShellWindow: evaluate error output for plausible message output 2015-12-28 12:13:35 +01:00
Thilo Graf
dbfa0859cf CShellWindow: clean up constructor/destructor
Most tasks of this class were dispersed in the constructor and destructor.
Tasks are better placed in Members.
2015-12-28 12:13:33 +01:00
Thilo Graf
f41d4cd973 CShellWindow: remove useless framebuffer callings
Not to see here a reason for call of framebuffer methods.
This is already done by textbox object.
2015-12-28 12:13:32 +01:00
Thilo Graf
3408dbd833 CShellWindow: add new enum option ACKNOWLEDGE_MSG
allows to show a messagebox instead a small ok button
2015-12-28 12:13:25 +01:00
Thilo Graf
3f6eaa11a3 CShellWindow: visualize of 'ready'status and simplify paint of 'ok' button 2015-12-28 12:13:25 +01:00
Thilo Graf
c8a4d7f6b9 CShellWindow: handle dynamic window position, additional paint window only if not painted 2015-12-28 12:13:24 +01:00
Thilo Graf
305511a395 CShellWindow: apply clearer enum format declaration 2015-12-28 12:13:24 +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
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
Stefan Seyfried
880115fa98 Merge remote-tracking branch 'uncool/cst-next' 2015-12-25 16:28:39 +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
Stefan Seyfried
eeee5bacab Merge remote-tracking branch 'uncool/cst-next'
This need buildfixes and some functional updates...
2015-12-13 17:41:55 +01:00
M. Liebmann
189b2e0fb0 Disable multimedia plugins and video functions...
...(movie player & upnp browser) when movieplayer is in use
2015-12-08 12:01:25 +01:00
svenhoefer
d422e7e649 - listbox and upnpbrowser: fix pagedown logic 2015-11-08 19:46:35 +01:00
M. Liebmann
6121e57fbc Apollo/Kronos: Use backup with readmtdJFFS2() also for var partition 2015-09-22 13:41:13 +02:00
M. Liebmann
8ad20d4513 Display[Error|Info]Message: Add optional parameter 'Caption' 2015-09-17 12:12:26 +02:00
Thilo Graf
89cc6628ca CMenuWidget: remove double assignment of info box color 2015-07-17 17:31:57 +02:00
Thilo Graf
638832f535 CTextBox: fix calculated but not used parameter 2015-07-17 17:30:41 +02:00
Thilo Graf
672ae3fdb1 CTextBox: fix calculated but not used parameter 2015-07-17 17:07:14 +02:00
Thilo Graf
4e002bdf66 CTextBox: consider utf8 mode parameter for correct render width, if required 2015-07-17 16:01:20 +02:00
Thilo Graf
ccdaacb0a0 CComponentsText: add switch for utf8 disable/enable 2015-07-12 21:08:25 +02:00
Thilo Graf
37c863d141 CTextBox: add switch for utf8 disable/enable 2015-07-12 21:08:25 +02:00
svenhoefer
524563f448 - menue: allow brief hints in all introItems 2015-05-19 12:28:28 +02:00
svenhoefer
c87ccae290 - menu: use brief hint in start_wizards first steps 2015-05-15 03:46:50 +02:00
svenhoefer
af90286a30 - start_wizard: use a global enum; switch detection from bool to int 2015-05-15 03:46:50 +02:00
svenhoefer
d9b3e9420a - menu: add hint-icon and hint-text to "continue" menu items 2015-05-15 03:46:50 +02:00
svenhoefer
89a11de651 - fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h 2015-05-06 22:58:54 +02:00
Thilo Graf
d5bad0ac36 CProgressWindow: fix background fragments on text paint
Permanent screen saving was disabled by default since commit
72997591a0. In this case it can be substituted if enabled
bg paint.
2015-05-04 10:37:03 +02:00