Commit Graph

173 Commits

Author SHA1 Message Date
Stefan Seyfried
2819e651c3 Merge remote-tracking branch 'tuxbox/pu/fb-modules'
only compile tested ;-)
2017-02-12 21:29:10 +01:00
Stefan Seyfried
2303d94300 replace fontrenderer.h include with forward declaration
in order to flatten the build dependency tree further, include
fontrenderer.h directly where needed, in header files a forward
declaration is enough
2017-02-07 17:23:42 +01:00
Stefan Seyfried
7497722646 Merge remote-tracking branch 'tuxbox/master' 2017-02-01 22:03:40 +01:00
Thilo Graf
b2f1226324 CTestMenu: fix icon container
was not removed from screen
2017-01-31 16:36:41 +01:00
Thilo Graf
4a288240f2 CTestMenu: fix blink of extended text sample 2017-01-31 16:36:40 +01:00
Stefan Seyfried
a409047714 Merge remote-tracking branch 'tuxbox/master' 2017-01-22 22:59:39 +01:00
Thilo Graf
2e2d0d6b19 CTestMenu: edd expanded sample for blinking items with syncroinized effect 2016-12-17 22:39:15 +01:00
Thilo Graf
864cda9cfc CTestMenu: add sample to visualize current running records 2016-12-10 00:19:16 +01:00
Thilo Graf
4382daf5e4 Message timeout: try to fix timeout defines
Some parameters were confused.
2016-12-08 12:54:37 +01:00
Stefan Seyfried
c6d7968381 Merge remote-tracking branch 'tuxbox/master' 2016-12-04 18:02:51 +01:00
Thilo Graf
31bfb1b383 CComponentsExtTextForm: rework class overloading
class CComponentsExtTextFormLocalized is not required.
2016-11-28 21:43:33 +01:00
Thilo Graf
d6c5bc2d28 CTestMenu: add form sample 2016-11-20 23:14:59 +01:00
Thilo Graf
717dec02c5 CCDraw: add function for blink effect for cc items
NOTE: experimental, for examples see CTestMenu class
2016-11-20 14:09:19 +01:00
Thilo Graf
43c1349ffa CTestMenu: add sample for hintbox with timeout 2016-11-10 11:19:09 +01:00
Thilo Graf
3d12e059c4 CTestMenu: add sample for message box with parameter CMsgBox::mbNoYes 2016-10-27 12:17:33 +02:00
Thilo Graf
912ca8647e CTestMenu: ensure remove hintbox from screen after pressed exit button.
call of hide() was missed.

Use hintbox object on stack.
Is completely sufficient here.
2016-10-24 10:31:28 +02:00
Thilo Graf
2e631fd0ce Try to rework footer
* try to fix enableButtonShadow(), seems an init is missing
* shadow fixed
2016-10-24 10:31:25 +02:00
Thilo Graf
a17d61de8c Shadow: try to optimize shadow areas
* cleanup inner part of box on round corners, frames considered
* adopt implementations in some gui classes
* some debug lines removed
* test menu adopted
* try to fix corner caluculation to avoid transparent holes
2016-10-24 10:31:25 +02:00
Thilo Graf
b233c06af3 CTestMenu: adopt for last changes 2016-10-24 10:31:25 +02:00
Thilo Graf
1888189fb3 CTestMenu: shadow for circle
TODO: not really nice at the moment
2016-10-24 10:31:24 +02:00
Thilo Graf
307b2763bd shadow: paint shadow layer with multiple renderboxes
Should help to paint a clean shadow frame
2016-10-24 10:31:24 +02:00
Thilo Graf
dde298b1b7 CMsgBox: rework msgbox classes with Window class implementation
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.

TODO: fix and optimize details
2016-10-24 10:31:24 +02:00
Stefan Seyfried
13ab1ebc8a Merge remote-tracking branch 'tuxbox/master'
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
Thilo Graf
133ec1f2bb test_menue.cpp: fix broken build with --enable-testing 2016-10-11 00:43:38 +02:00
svenhoefer
54f2ac510f - fonts: add and use own font for all footers 2016-08-15 19:02:42 +02:00
Thilo Graf
4904279fd5 CComponentsTimer: rework timer class 2016-04-25 10:26:32 +02:00
Jacek Jendrzej
929bc61cf5 src/gui/test_menu.cpp fix pugixml compil 2016-03-12 13:48:42 +01:00
Thilo Graf
9ff903f7a6 CTestMenu: disable unused vars
prevents possible compiler warnings or builderrors with pedantic gcc settings
2016-02-16 09:39:05 +01:00
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