Stefan Seyfried
b837d8697b
Merge remote-tracking branch 'uncool/cst-next'
2015-12-28 16:15:14 +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
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
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
Stefan Seyfried
69c4dbbdba
Merge remote-tracking branch 'check/cst-next'
...
needs build- and functional fixes
Conflicts:
configure.ac
data/icons/shutdown.jpg
data/icons/start.jpg
data/locale/deutsch.locale
data/locale/english.locale
lib/libmd5sum/md5.c
src/driver/scanepg.cpp
src/driver/streamts.cpp
src/driver/vfd.cpp
src/driver/vfd.h
src/driver/volume.cpp
src/eitd/dmx.cpp
src/eitd/xmlutil.cpp
src/gui/Makefile.am
src/gui/audiomute.cpp
src/gui/channellist.cpp
src/gui/dboxinfo.cpp
src/gui/epgview.cpp
src/gui/eventlist.cpp
src/gui/filebrowser.cpp
src/gui/hdd_menu.cpp
src/gui/infoviewer.cpp
src/gui/infoviewer_bb.cpp
src/gui/infoviewer_bb.h
src/gui/keybind_setup.cpp
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/miscsettings_menu.cpp
src/gui/moviebrowser.cpp
src/gui/movieplayer.cpp
src/gui/osd_progressbar_setup.cpp
src/gui/osd_progressbar_setup.h
src/gui/osd_setup.cpp
src/gui/osdlang_setup.cpp
src/gui/personalize.cpp
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/update_settings.cpp
src/gui/user_menue.cpp
src/gui/user_menue_setup.cpp
src/gui/videosettings.cpp
src/gui/widget/buttons.cpp
src/gui/widget/menue.cpp
src/gui/widget/menue.h
src/gui/widget/progresswindow.cpp
src/neutrino.cpp
src/neutrino_menue.cpp
src/nhttpd/yhttpd.cpp
src/system/helpers.cpp
src/system/locals.h
src/system/locals_intern.h
src/system/setting_helpers.cpp
src/zapit/lib/zapitclient.cpp
src/zapit/src/fastscan.cpp
src/zapit/src/frontend.cpp
src/zapit/src/getservices.cpp
src/zapit/src/scan.cpp
src/zapit/src/scannit.cpp
src/zapit/src/scanpmt.cpp
src/zapit/src/transponder.cpp
src/zapit/src/zapit.cpp
2014-12-25 18:03:08 +01: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
Stefan Seyfried
44ba8fafca
Merge remote-tracking branch 'check/next-cc'
...
build-tested only, needs fixing
Conflicts:
data/locale/deutsch.locale
data/locale/english.locale
src/Makefile.am
src/driver/rcinput.cpp
src/driver/streamts.cpp
src/eitd/sectionsd.cpp
src/gui/Makefile.am
src/gui/bouquetlist.cpp
src/gui/hdd_menu.cpp
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/moviebrowser.cpp
src/gui/movieplayer.cpp
src/gui/pluginlist.cpp
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/user_menue.cpp
src/gui/videosettings.cpp
src/gui/widget/menue.cpp
src/neutrino.cpp
src/neutrinoMessages.h
src/system/locals.h
src/system/locals_intern.h
src/zapit/include/zapit/scan.h
src/zapit/src/femanager.cpp
src/zapit/src/frontend.cpp
src/zapit/src/getservices.cpp
src/zapit/src/transponder.cpp
2014-04-27 19:14:06 +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
Stefan Seyfried
ecd62d81d1
Merge remote-tracking branch 'check/next-cc'
...
...only build-tested, needs fixes
2014-02-15 20:22:07 +01:00
M. Liebmann
ddc826ab51
CComponentsFrmClock: Fix thread handling
...
- Set clock activ = false for default
2014-02-13 18:26:04 +01:00
Stefan Seyfried
b414474323
Merge remote-tracking branch 'check/next-cc'
...
compiles, nothing else.
Conflicts:
configure.ac
src/Makefile.am
src/gui/Makefile.am
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan_setup.cpp
src/gui/start_wizard.cpp
src/gui/test_menu.cpp
src/gui/user_menue.cpp
src/gui/widget/hintboxext.cpp
src/gui/widget/menue.cpp
src/gui/widget/messagebox.cpp
src/gui/widget/stringinput.cpp
2014-01-23 14:08:37 +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
Stefan Seyfried
b5e736e81b
Merge branch 'check/next-cc'
...
Only compile-tested.
2013-11-30 20:17:31 +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
Stefan Seyfried
548448456a
Merge branch 'check/next-cc'
...
Only compile-tested.
2013-11-13 14:04:15 +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
Stefan Seyfried
b93a372b54
Merge branch 'check/next-cc'
...
Compiles on most platforms, starts. Not really tested.
2013-11-10 16:55:53 +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
Stefan Seyfried
d244a5991a
Merge branch 'check/next-cc'
...
Compiles on most platforms, starts. Not really tested.
Conflicts:
acinclude.m4
lib/libdvbsub/Makefile.am
lib/libtriple/Makefile.am
lib/libtuxtxt/Makefile.am
src/Makefile.am
src/create_rcsim_h.sh
src/daemonc/Makefile.am
src/driver/Makefile.am
src/driver/audiodec/Makefile.am
src/driver/pictureviewer/Makefile.am
src/eitd/Makefile.am
src/gui/Makefile.am
src/gui/bouquetlist.cpp
src/gui/channellist.cpp
src/gui/scan_setup.cpp
src/gui/streaminfo2.cpp
src/gui/streaminfo2.h
src/gui/update.cpp
src/gui/widget/Makefile.am
src/gui/widget/listbox.cpp
src/neutrino.cpp
src/nhttpd/tuxboxapi/coolstream/Makefile.am
src/rcsim.c
src/system/Makefile.am
src/zapit/src/Makefile.am
src/zapit/src/frontend.cpp
src/zapit/src/zapit.cpp
2013-10-21 22:58:55 +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
Stefan Seyfried
7cfe54dc2f
Merge branch 'check/next-cc'
...
again: it compiles, but is not really tested...
Conflicts:
acinclude.m4
src/driver/volume.cpp
src/gui/infoviewer.cpp
src/gui/osd_setup.cpp
src/gui/start_wizard.cpp
src/zapit/src/getservices.cpp
2013-07-06 19:01:15 +02:00
Thilo Graf
03ef18cdb9
CComponentsFrmClock: set font only with fontrender object
2013-06-18 19:33:34 +02:00
Stefan Seyfried
d5d5a60261
Merge branch 'check/next-cc'
...
it compiles, but is not really tested...
Conflicts:
src/driver/netfile.cpp
src/driver/volume.cpp
src/eitd/sectionsd.cpp
src/gui/audioplayer.cpp
src/gui/bedit/bouqueteditor_bouquets.cpp
src/gui/bedit/bouqueteditor_channels.cpp
src/gui/bookmarkmanager.cpp
src/gui/bouquetlist.cpp
src/gui/eventlist.cpp
src/gui/movieplayer.cpp
src/gui/pictureviewer.cpp
src/gui/scan.cpp
src/gui/test_menu.h
src/gui/timerlist.cpp
src/gui/update.cpp
src/gui/widget/listbox.cpp
src/neutrino.cpp
src/system/flashtool.cpp
src/zapit/src/Makefile.am
src/zapit/src/femanager.cpp
2013-06-16 21:22:14 +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