Commit Graph

70 Commits

Author SHA1 Message Date
Thilo Graf
5e530ef9d2 progresswindow.cpp: fix too small offset between global bar and lower frame 2022-09-16 22:40:30 +02:00
Thilo Graf
0e02e8e956 progresswindow: Consider window frame for progress bar width
supplement to: sync frame width with message/hintbox 8fb9196
2022-04-17 17:11:31 +02:00
Thilo Graf
8fb9196949 progresswindow: sync frame width with message/hintbox 2022-04-09 11:46:12 +02:00
max_10
88f663520b - remove old sh4 blit 2021-12-03 23:26:55 +01:00
Thilo Graf
c88a6ff7b3 cc: rework color handling for select and focus status 2020-12-07 20:33:52 +01:00
Thilo Graf
0c62e5e264 CProgressWindow: add adaptiv progress handling, new classes added
See src/gui/widget/progresswindow.h for more details and examples.
Docs could be generated with Doxygen.
2020-01-05 21:17:59 +01:00
Thilo Graf
d86dcd36a7 components: use const bool& parameter in paint methodes 2019-10-27 16:24:47 +01:00
M. Liebmann
abfb02aa47 Merge branch 'master' into pu/mp 2017-09-21 09:07:15 +02:00
svenhoefer
6ee3e54741 - add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-20 21:29:53 +02:00
Jacek Jendrzej
8b89baa7a2 Merge branch 'master' into pu/mp 2017-06-26 22:22:07 +02:00
svenhoefer
3fdd07e92c CProgressWindow: use CProgressBar::PB_TIMESCALE as default
More colors makes not really sense here.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-26 20:53:12 +02:00
Jacek Jendrzej
cf951434d5 Merge branch 'master' into pu/mp 2017-06-20 14:26:38 +02:00
Thilo Graf
64396a1c5e CProgressWindow: remove unused variable
fix for possible compiler error with -Werror=unused-variable
2017-06-20 09:54:52 +02:00
TangoCash
ac46bb0492 -progresswindow: fix progressbar if both bars have the same value (thx dbo) 2017-06-20 09:48:10 +02:00
Jacek Jendrzej
ca83324763 Merge branch 'master' into pu/mp 2017-06-07 16:20:47 +02:00
Thilo Graf
2de98df48f CProgressWindow: try to reduce effort inside progress display
Should help to reduce some timing side effects  with many data amounts.
But there could still be more potential.
2017-03-19 22:37:32 +01:00
Thilo Graf
a9a09541e0 CProgressWindow: small optimize of size handling 2017-03-03 09:22:08 +01:00
Thilo Graf
ed9edb5dad CProgressWindow: use percental calculated dimensions as default 2017-02-26 21:29:53 +01:00
Thilo Graf
f478c75e26 CProgressWindow: syncronize paint of local and global bar on first paint
In some cases progress bars were painted with delay.
Now it should be looks better.
2017-02-26 21:29:53 +01:00
Thilo Graf
1e6997e3af CProgressWindow: small cosmetic 2017-02-26 21:29:53 +01:00
Thilo Graf
0281b7e8c7 CProgressWindow: rename InitProgressItem -> getProgressItem
more plausible
2017-02-26 21:29:53 +01:00
Thilo Graf
9d3e5f4fd2 CProgressWindow: move some methodes for more clarity 2017-02-26 21:29:53 +01:00
Thilo Graf
7339d3dd03 CProgressWindow: encapsulate show methodes, add dimension defines 2017-02-26 21:29:53 +01:00
Thilo Graf
5049b69c3f CProgressWindow: add overloaded constructor with string arg 2017-02-26 21:29:53 +01:00
Stefan Seyfried
1d9d81d448 Merge remote-tracking branch 'tuxbox/master' 2017-02-15 20:26:44 +01:00
Thilo Graf
45e77707f0 CProgressWindow: add documentation for Doxygen 2017-02-13 09:02:43 +01:00
Thilo Graf
a3c93f4236 CProgressWindow: use using namespace for std and sigc
Makes more clearly
2017-02-13 09:02:43 +01:00
Thilo Graf
842c8e79bb CProgressWindow: add possibility to show progress via signal 2017-02-13 09:02:43 +01:00
Thilo Graf
547238bfdd CProgressWindow: allow variable max value, allow define dimensions 2017-02-13 09:02:43 +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
9082ddf287 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-05 13:37:53 +01: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
vanhofen
be40e67b70 - colors: add COL_PROGRESSBAR wrapper 2016-10-10 14:19:55 +02: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
M. Liebmann
6121e57fbc Apollo/Kronos: Use backup with readmtdJFFS2() also for var partition 2015-09-22 13:41:13 +02:00
Thilo Graf
d5bad0ac36 CProgressWindow: fix background fragments on text paint
Permanent screen saving was disabled by default since commit
72997591a0. In this case it can be substituted if enabled
bg paint.
2015-05-04 10:37:03 +02:00
Thilo Graf
a58f1621b4 Merge branch 'cst-next.pre' into cst-next 2015-04-30 09:20:43 +02:00
Stefan Seyfried
5ab6b53054 global.h: Use forward-declarations to reduce number of dependencies 2015-04-16 13:39:35 +02:00
Thilo Graf
32af48cc80 CProgressWindow: reassign y position of body items on disabled header 2015-03-29 22:40:01 +02:00
Thilo Graf
7e084c2531 CProgressWindow: add member showStatus()
This displays only one progress bar instead two and shows the global
status. That's senseful , if only one progress  bar is required.
2015-03-29 22:39:59 +02:00
Stefan Seyfried
d37b3c0f9a Merge remote-tracking branch 'check/cst-next'
Conflicts:
	src/daemonc/remotecontrol.cpp
	src/gui/luainstance.cpp
	src/gui/movieplayer.cpp
	src/gui/videosettings.cpp
	src/neutrino.cpp
	src/system/setting_helpers.cpp
	src/zapit/src/zapit.cpp
2014-12-28 12:32:12 +01: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
svenhoefer
f4ccaa975b - progresswindow: fix position of progressbars 2014-11-17 15:53:08 +01:00
Thilo Graf
3e2e862e81 CProgressWindow: cleanup surplus includes
already included by base class
2014-09-14 00:00:56 +02:00
Thilo Graf
0149b27760 CProgressWindow: optimize fontsize handling
- minimal size is now 14 instead 20, changed scale settings now should
  be noticed earlier
- font type is now bold
- arrangement of progressbars adapted
2014-08-26 17:31:18 +04:00
Thilo Graf
bf10f929f8 CProgressWindow: user request: increase size of description and window 2014-07-18 13:31:34 +04:00
Thilo Graf
f164104daf CProgressWindow: dont't paint frame on progressbars 2014-07-18 13:31:16 +04:00
Thilo Graf
2f0e4e1687 CProgressWindow: implement CComponent classes
This implement window functionality from CComponentsWindow,
progress items from CProgressBar() and status text
items from CComponentsLabel()
2014-06-23 18:43:47 +02:00