svenhoefer
89a11de651
- fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h
2015-05-06 22:58:54 +02:00
Thilo Graf
0f9fc4b870
gui/test_menu.cpp: fix broken build
...
Fixed missing include that come with commit
09adc177d8
2015-04-30 09:39:42 +02:00
Thilo Graf
a58f1621b4
Merge branch 'cst-next.pre' into cst-next
2015-04-30 09:20:43 +02:00
svenhoefer
9041bff59c
- remove w_max()-calls to define menu-width, because ...
...
w-max() returns a pixel-value, but menus need a percentage-value.
2015-04-24 09:11:04 +02:00
Thilo Graf
1f81228d7b
CTestMenu: disable tuner test code
...
Doesn't work with newer frontend api, and not really required.
2015-03-29 22:39:48 +02:00
Thilo Graf
07c5547965
CTestMenu: remove window close statement
2014-09-25 11:02:39 +04:00
[CST] Focus
5ec1873982
gui/test_menu.cpp: sync fe test params; fix compile
2014-08-28 10:04:55 +04:00
Thilo Graf
0806a2c30d
CTestMenu: remove unused variables
2014-08-26 17:26:49 +04:00
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
5eb63b9515
CComponentsPicture: structure of class highly simplified
...
It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.
2014-06-23 18:43:47 +02:00
Thilo Graf
7e6ce8acc6
CTestMenu: clean up, change some sample comments for footer init
2014-05-22 21:50:51 +02:00
Thilo Graf
2bde5a6d08
CTestMenu: set dynamic size of buttons, use 1/10 of footer width
2014-05-22 21:50:46 +02:00
Thilo Graf
9ffdb1cb98
CComponentsButton, CComponentsFooter: rework bestfit of buttons inside chain
2014-05-22 21:50:45 +02:00
Thilo Graf
45ce42e505
CTestMenu: add samples for new button handling in cc footer
2014-05-22 21:50:45 +02:00
svenhoefer
4fba818cc2
- menu: add possibility to add a footer to the menus; fix alignment of menus
...
add footer-keys to testmenu
(some of this code is based on code by martii; thx)
2014-04-11 00:26:52 +02:00
Thilo Graf
6fe7b452c1
CComponentsHeader: rework context button handling
...
CComponentsHeader uses now CComponentsIconForm, which is now derived
from CComponentsFrmChain. Some methods should be now simplified and
allow to handle some modifications easier.
2014-04-02 08:40:21 +02:00
Thilo Graf
23d7b62cf0
CComponents: add new parameter 'parent'
...
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)
New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.
Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.
Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.
2014-03-03 09:43:39 +01:00
M. Liebmann
ddc826ab51
CComponentsFrmClock: Fix thread handling
...
- Set clock activ = false for default
2014-02-13 18:26:04 +01:00
svenhoefer
53f5801d6f
- adapt ShowMsg handling from martii's neutrino-mp
2014-01-22 12:37:21 +01:00
M. Liebmann
0a5a7b3146
CScanSettings: convert char[...] configuration values to std::string
2014-01-19 20:57:38 +01:00
M. Liebmann
b41819190d
Preparing the menu classes for Lua Part #2
...
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
THX Martii
2014-01-19 20:57:37 +01:00
M. Liebmann
90985f11d2
Adapting certain files to the changed font handling of info clock
2013-11-28 16:07:48 +01:00
svenhoefer
633278a532
Revert "CTestMenu: fix build, add missing include"
...
This reverts commit 25909c10b6
.
2013-11-13 23:39:37 +01:00
Thilo Graf
25909c10b6
CTestMenu: fix build, add missing include
...
supplement to 3845feb0e4
Signed-off-by: Thilo Graf <dbt@novatux.de >
2013-11-13 11:54:31 +01:00
Thilo Graf
ac6f547d0f
CTestMenu: add buildinfo as menu entry
...
Buildinfo also exists in infomenu, but is outcommented, so it is
prepared just for testings.
2013-11-11 00:20:10 +01:00
Thilo Graf
29abd4f1dd
CTestMenu: add sample code for CComponentsExtTextForm
2013-11-11 00:19:46 +01:00
Thilo Graf
6f700d80c0
CTestMenu: add configure option --enable-testmenu
2013-11-05 13:22:28 +01:00
Thilo Graf
6dd1da0628
revert 6ee7fac1a5
...
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget
2013-10-26 23:25:59 +02:00
Thilo Graf
6ee7fac1a5
CComponents: rename hide() to hideCC()
...
There are too many name conflicts with hide-members in other classes.
2013-10-24 21:39:04 +02:00
Thilo Graf
2ed9357222
CTestMenu: add sample code for channel logo item
2013-10-06 17:14:31 +02:00
Thilo Graf
740e7e8129
CTestMenu: fix build of test menu, name of member was changed
2013-09-21 00:24:13 +02:00
Thilo Graf
03ef18cdb9
CComponentsFrmClock: set font only with fontrender object
2013-06-18 19:33:34 +02:00
Thilo Graf
b7e5121001
CTestMenu: add some sample codes for window and button handling,
2013-06-16 00:34:08 +02:00
[CST] Focus
1d3ec8c7af
gui/test_menu.cpp: change tuner test params again
2013-06-13 19:24:10 +04:00
[CST] Focus
25dc8bc10f
gui/test_menu.cpp: change scan test params, add mmc mount check
2013-06-13 13:14:26 +04:00
Michael Liebmann
6409cc8a19
CComponentsFrmClock: Move thread start/stop to constructor/destructor
2013-06-12 01:32:24 +02:00
Michael Liebmann
c5e0552438
CTestMenu: Fix memleak
2013-06-12 01:32:24 +02:00
[CST] Focus
23c387755c
gui/test_menu.cpp: change tuner test code to support more than 2 and cable
2013-06-10 15:57:33 +04:00
Thilo Graf
fc3829d695
CTestMenu: add sample code for footer buttons, disable debug spam
2013-06-03 22:12:49 +02:00
Thilo Graf
e665ab18ab
CComponentsFooter: add new class CComponentsFooter
2013-06-03 22:06:03 +02:00
Thilo Graf
8e46f63900
CComponentsHeader: rename some members for plausible usage in subclasses
...
Some members are usable in subclasses, but current names could be not
suitable or not plausible with respect to the name of subclass.
2013-05-27 11:58:05 +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
[CST] Focus
8bb70d1ab3
Merge branch 'pu/cc' into next-cc
...
Conflicts:
acinclude.m4
data/locale/deutsch.locale
data/locale/english.locale
src/driver/volume.cpp
src/eitd/SIlanguage.cpp
src/gui/bedit/bouqueteditor_channels.cpp
src/gui/bedit/bouqueteditor_chanselect.cpp
src/gui/bouquetlist.cpp
src/gui/channellist.cpp
src/gui/eventlist.cpp
src/gui/osd_setup.cpp
src/gui/scan.cpp
src/gui/scan.h
src/gui/test_menu.cpp
src/gui/timeosd.cpp
src/gui/widget/progressbar.cpp
src/gui/widget/progressbar.h
src/neutrino.cpp
src/nhttpd/yconfig.h
2013-04-17 13:32:12 +04:00
[CST] Focus
2cc3c213b5
gui/test_menu.cpp: fix compile
2013-04-16 12:53:54 +04:00
Stefan Seyfried
88fde35e52
test_menu: fix path to demo picture
2013-04-08 10:35:43 +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
2b41601d11
CTestMenu: modifie some samples to call header
2013-03-18 12:04:32 +01:00
Thilo Graf
de330ac39c
CComponentsWindow: remove refresh()
...
initCCWItems() does the same, but is private
2013-03-18 12:04:16 +01:00