Commit Graph

715 Commits

Author SHA1 Message Date
Stefan Seyfried
f5c72d35c8 Merge remote-tracking branch 'n/cst-next-fixed' 2016-01-24 13:15:43 +01:00
Stefan Seyfried
7ed6175120 Revert "- listhelpers: satisfy -Werror"
This reverts commit 299852d388.
2016-01-24 12:23:00 +01:00
Thilo Graf
9d72b086a2 text screen save: try to rework screen save behavior for textbox objects
Screen save now always disabled by default and can be controlled
outside of relevant objects.
2016-01-21 11:00:38 +01:00
svenhoefer
2eb0aed5db - rc_lock: rework class; switch to singleton; add icon; vfd-support 2016-01-20 20:26:52 +01:00
svenhoefer
299852d388 - listhelpers: satisfy -Werror 2016-01-18 13:43:46 +01:00
Stefan Seyfried
cfeaf6fc6d listbox: use CListHelpers 2016-01-18 08:10:16 +01:00
Stefan Seyfried
ed7eaafbcb timerlist: use CListHelpers
remove duplicated code and use CListHelpers::UpDownKey().
Some variable types had to be changed to avoid typecasts, as
a result (int) casts to foo.size() had to be added :-)
2016-01-18 08:10:16 +01:00
Stefan Seyfried
edf7d48e04 upnpbrowser: use CListHelpers::UpDownKey 2016-01-18 08:10:16 +01:00
Stefan Seyfried
7b87206099 CListHelpers: allow UpDownKey with int type, too 2016-01-18 08:10:16 +01:00
Stefan Seyfried
99453de557 eventlist: use CListHelpers::UpDownKey 2016-01-18 08:10:16 +01:00
Stefan Seyfried
ec4aa07e17 add CListHelpers class
this can be used to factor out duplicate code implementations
from all the various channel-, bouquet-, eventlists etc...
2016-01-18 08:10:16 +01:00
Thilo Graf
35a08fc5dd CTextBox: add signal handler into scroll methodes 2016-01-17 23:37:31 +01:00
Stefan Seyfried
156acb1039 listbox: use CListHelpers 2016-01-16 18:30:32 +01:00
Stefan Seyfried
8f95f259c1 timerlist: use CListHelpers
remove duplicated code and use CListHelpers::UpDownKey().
Some variable types had to be changed to avoid typecasts, as
a result (int) casts to foo.size() had to be added :-)
2016-01-16 18:18:50 +01:00
Stefan Seyfried
663c7e3cfc upnpbrowser: use CListHelpers::UpDownKey 2016-01-16 17:51:28 +01:00
Stefan Seyfried
57f20fcbb7 CListHelpers: allow UpDownKey with int type, too 2016-01-16 17:48:30 +01:00
Stefan Seyfried
5550f89853 eventlist: use CListHelpers::UpDownKey 2016-01-16 15:38:04 +01:00
Stefan Seyfried
22c09ce84e add CListHelpers class
this can be used to factor out duplicate code implementations
from all the various channel-, bouquet-, eventlists etc...
2016-01-16 14:39:03 +01:00
Stefan Seyfried
572de2bbcb Merge remote-tracking branch 'cst-next' 2016-01-16 12:51:04 +01:00
svenhoefer
b00e78a165 - fix pagedown logic, but this time for real (i hope)
Why this was so difficult code? I don't know.
2016-01-15 13:51:14 +01:00
Stefan Seyfried
79d800f955 - port HWLIB_CFLAGS from neutrino-mp to neutrino-hd 2016-01-14 22:29:00 +01:00
Stefan Seyfried
b53fbaf327 Merge remote-tracking branch 'cst-next' 2016-01-08 19:52:41 +01:00
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