Commit Graph

17 Commits

Author SHA1 Message Date
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
Thilo Graf
1c217b404f Forms/header/clock: implement slot into OnBeforeRePaint 2017-02-02 11:18:27 +01:00
Thilo Graf
cbeecab801 CComponentsExtTextForm: init with gradient support and sl_repaint slot 2017-01-31 16:36:41 +01:00
Thilo Graf
31bfb1b383 CComponentsExtTextForm: rework class overloading
class CComponentsExtTextFormLocalized is not required.
2016-11-28 21:43:33 +01:00
Thilo Graf
80753c75d1 CComponentsExtTextForm: add missed parameter font_text 2016-10-03 01:45:09 +02:00
Thilo Graf
9d72b086a2 text screen save: try to rework screen save behavior for textbox objects
Screen save now always disabled by default and can be controlled
outside of relevant objects.
2016-01-21 11:00:38 +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
[CST] Focus
ee27b6ae6b gui/components/cc_frm_ext_text.cpp: set CTextBox save screen flag 2015-03-06 14:14:00 +03: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
Thilo Graf
04574fc6eb CComponents: split some header files
Should bring more overview and less susceptibility to conflicts (merge etc)

License texts updated.
2014-01-06 22:27:59 +01:00
Thilo Graf
a08a418d88 CComponentsExtTextForm: use inherited class for localized version
Removed simple constructor and used default values in constructor has same
effect, this reduces some code parts. Usage is unchanged.
2014-01-06 14:47:12 +01:00
[CST] Focus
062b10be2a components: remove initVarForm calls in classes derived from CComponentsForm 2013-11-29 17:27:10 +04:00
Thilo Graf
cf32badb10 CComponentsExtTextForm: use correct declared type 2013-11-17 15:19:43 +01:00
Thilo Graf
05ce023278 CComponentsExtTextForm: remove check for empty strings
This check causes possible segfault and check is already in ccx_text_obj.
2013-11-11 00:19:49 +01:00
Thilo Graf
74d25a6089 CComponentsExtTextForm: fix assign of width with percent value
Assigning of value before width was set, had no effect
2013-11-11 00:19:48 +01:00
Thilo Graf
a0e00387b6 CComponentsExtTextForm: add member setLabelAndTextFont() 2013-11-11 00:19:47 +01:00
Thilo Graf
d8514b19ee CComponentsExtTextForm: add new class CComponentsExtTextForm
this provides a combining form, that contains a text object with label
2013-11-11 00:19:46 +01:00