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


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
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
This commit is contained in:
2015-11-18 18:08:23 +01:00
parent d5ce36ab27
commit 72a289a90c
68 changed files with 3207 additions and 1682 deletions

View File

@@ -33,7 +33,7 @@
#include <driver/display.h>
CProgressWindow::CProgressWindow(CComponentsForm *parent)
: CComponentsWindow(0, 0, 700, 200, string(), NEUTRINO_ICON_INFO, NULL, parent)
: CComponentsWindow(0, 0, 700, 200, string(), NEUTRINO_ICON_INFO, parent, CC_SHADOW_ON)
{
Init();
}
@@ -186,9 +186,9 @@ unsigned int CProgressWindow::getGlobalStatus(void)
return global_progress;
}
void CProgressWindow::hide(bool no_restore)
void CProgressWindow::hide()
{
CComponentsWindow::hide(no_restore);
CComponentsWindow::hide();
}
int CProgressWindow::exec(CMenuTarget* parent, const std::string & /*actionKey*/)

View File

@@ -45,7 +45,7 @@ class CProgressWindow : public CComponentsWindow, public CMenuTarget
CProgressWindow(CComponentsForm *parent = NULL);
void setTitle(const neutrino_locale_t title);
virtual void hide(bool no_restore = false);
virtual void hide();
virtual int exec( CMenuTarget* parent, const std::string & actionKey );