Commit Graph

26 Commits

Author SHA1 Message Date
Thilo Graf
672757606c CComponents: implement scroll functionality into CComponentsForm
CComponentsForm provides page scroll if found more
than one pre defined page and is working with all derivated sub classes from CComponentsForm .

Pages are defined with setPageNumber(0...n) in items (1st page = 0). The item page number property is
defined in variable cc_page_number. The highest page number sets the
count of pages inside container to required value. Thats compellingly!

To show a page, we can use setCurrentPage(0...n ) and paintCurPage() or use directly paintPage(0...n).
Note: global paint() will show the current page. Default page is 0 (as first).
Use setCurrentPage(0...n) to change this before first call of paint().
Note: In CComponentsWindow class, these methods are applied to window body.

For examples, take a look into CTestMenu
2014-06-27 20:49:41 +02:00
Thilo Graf
87031e79b8 CTestMenu: use correct class name for footer object 2014-05-22 21:50:44 +02:00
Thilo Graf
29abd4f1dd CTestMenu: add sample code for CComponentsExtTextForm 2013-11-11 00:19:46 +01:00
[CST] Focus
ae78af966c gui/test_menu.h: disable test menu 2013-11-05 15:54:13 +04:00
Thilo Graf
f7798affc6 CComponents: add unfied header file for general include of cc classes
Provides a unified header file, so it is not required to select a
certain header file.
2013-10-24 21:19:07 +02:00
Thilo Graf
2ed9357222 CTestMenu: add sample code for channel logo item 2013-10-06 17:14:31 +02:00
Thilo Graf
d30f216e1a CTestMenu: disable testmenu 2013-09-04 11:48:49 +02:00
Thilo Graf
e665ab18ab CComponentsFooter: add new class CComponentsFooter 2013-06-03 22:06:03 +02:00
Thilo Graf
d39eaa22fc CComponents: split some header files
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture
2013-05-27 09:30:50 +02:00
Thilo Graf
9d52071c39 CComponentsFrmClock: add new class CComponentsFrmClock 2013-05-25 23:29:49 +02:00
Michael Liebmann
2244e418b7 * CTestMenu: Add widget id's
- Return menu result, to close all menus
2013-05-21 19:34:52 +02:00
Thilo Graf
b0846842f3 CTestMenu: add sample code for CComponentsButtonRed 2013-04-20 12:53:25 +02:00
Thilo Graf
39a4e3400e CComponentsForm: add own header for form classes 2013-04-16 08:26:56 +02:00
Thilo Graf
c17e2e5d6c CTestMenu: remove minitv sample
Can not be displayed here nicely.
2013-03-18 12:04:42 +01:00
Thilo Graf
44346c6417 CComponents: fix some includes
Included header files don't fit after move of components.
2013-03-06 11:28:17 +01:00
Thilo Graf
fa9ffdd46e CComponentsWindow: add sub class CComponentsWindow 2013-03-06 11:28:16 +01:00
Thilo Graf
b251e2a001 CTestMenu: add sample code for class CComponentsIconForm 2013-03-06 11:28:12 +01:00
Thilo Graf
e4c4a33477 CTextMenu: add sample code for CComponentsHeader 2013-03-06 11:28:09 +01:00
Thilo Graf
98b1e38dfa CTestMenu: add tests for CComponentsText 2013-03-06 11:28:08 +01:00
Thilo Graf
7105518423 CTestMenu: add tests for form objects 2013-03-06 11:28:03 +01:00
Thilo Graf
c0d4c204b2 CTestMenu: add some demos for CComponents 2013-03-06 11:28:01 +01:00
Thilo Graf
2126bbda81 CTestMenu: rework member showTestMenu()
It's better to split this member. Newer tests can make it too messy.
2013-03-06 11:28:01 +01:00
[CST] Focus
5399f3fbe5 neutrino_menue.cpp: move TEST_MENU define to gui/test_menu.h 2012-05-22 16:56:39 +04:00
thilo
e34c79a755 *neutrino test_menu: clean up
framebuffer is not required

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1241 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-04 15:36:56 +00:00
thilo
0dbb1cb59d *neutrino test_menu: fix compile error
header file was not cleaned, see  svn rev. 1182

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1240 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-04 15:05:28 +00:00
thilo
3251b34860 *neutrino test_menu: new files added
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1050 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-01-26 11:04:23 +00:00