svenhoefer
8862ef621b
- fix funny typo
2017-03-03 09:52:57 +01:00
Thilo Graf
cf9a953b59
CComponentsWindow: use negative values for discret percental dimensions
...
Also add possibility to use placeholder for better readability and
better compatibilty with previous implementations.
See doc in source files for more details
2017-03-03 09:22:08 +01:00
Thilo Graf
9b6893ee34
CComponentsWindow: add more tags for doxygen
2017-02-26 21:29:53 +01:00
Thilo Graf
055fef8b58
CComponentsWindow: use percentage conversion for dimension values
...
Dimension values for windows below a certain size are often not really
useful, even with regard to different resolutions.
Usage of percent values could be easier to handle.
In the constructor, the argument values für dimesions must be only
between 1 and 100 to achieve this.
TODO: behavior inside parents
2017-02-26 21:29:53 +01:00
Thilo Graf
803253e3d4
CComponentsScrollBar: remove unnecessary debug output
2017-02-25 00:01:29 +01:00
Stefan Seyfried
c9e1072b94
remove hardware specific code from gui
...
Use the framebuffer's getWidth4FB_HW_ACC() instead of system/helpers.
The use in cc_item_picture was guarded by a hardware #ifdef, use
needAlign4Blit() instead.
This needs testing on the affected hardware, which I do not have :-)
2017-02-14 20:01:55 +01:00
Stefan Seyfried
5188f721c4
set useful thread names for all spawned threads
2017-02-12 22:55:36 +01:00
Stefan Seyfried
6fdd920e42
CComponentsTimer: allow to set a thread name
2017-02-12 22:51:01 +01:00
Stefan Seyfried
58c6dbf469
cc: reduce impact of cc_draw header from 161 to 4 files
2017-02-12 22:50:44 +01:00
M. Liebmann
0cb26e6e98
Merge branch 'master' into pu/fb-modules
2017-02-12 09:24:08 +01:00
M. Liebmann
0d66899cbd
neutrino: Rename hardware defined macros for coolstream stb
...
BOXMODEL_NEVIS => BOXMODEL_CS_HD1
BOXMODEL_APOLLO => BOXMODEL_CS_HD2
2017-02-12 09:21:04 +01:00
M. Liebmann
ef61905a2d
Merge branch 'master' into pu/fb-modules
2017-02-08 20:16:41 +01:00
Stefan Seyfried
98b2461da7
reduce impact of zapit/frontend_c.h header
...
down from ~217 files to ~57...
2017-02-07 18:38:45 +01:00
Stefan Seyfried
47b1a8b642
reduce impact of driver/pictureviewer.h header file
...
before, more than 175 files depended on it, now it's about 35
2017-02-07 18:38:45 +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
e490f84ea8
replace framebuffer.h include with forward declaration
...
instead of including framebuffer.h almost everywhere, replace it with
class CFrameBuffer forward declarations and/or generic system includes.
Add a hack to define fb_pixel_t to config.h (one reason for
framebuffer.h includes was the fb_pixel_t define)
2017-02-07 17:23:42 +01:00
Thilo Graf
06fa3f2488
CComponentsForm: move slots into base classes
...
Usable for all form classes
2017-02-07 17:12:25 +01:00
Thilo Graf
e4d0abc7dc
signals: reduce multiple includes for sigc++/bind.h
2017-02-07 17:12:25 +01:00
Thilo Graf
1c217b404f
Forms/header/clock: implement slot into OnBeforeRePaint
2017-02-02 11:18:27 +01:00
Thilo Graf
be8588a4a5
CComponentsSignals: add signal OnBeforeRePaint
2017-02-02 11:18:27 +01:00
Thilo Graf
53f956c0f9
CComponentsText: add signal OnBeforePaint into text paint() methode
2017-01-31 16:36:42 +01:00
Thilo Graf
f219da23bf
CComponentsText: add missing parameters to kill() methode
2017-01-31 16:36:42 +01:00
Thilo Graf
ba9284fba7
CComponentsHeader: add missing paramters to kill methode
2017-01-31 16:36:42 +01:00
Thilo Graf
31146bd9af
CComponentsForm: remove debug spam
2017-01-31 16:36:42 +01:00
Thilo Graf
4c71edbd3c
CComponentsText: add explicit kill methode and add ct_force_text_paint
...
After hide or kill text will does not paint without ct_force_text_paint,
so it is required to add this.
2017-01-31 16:36:42 +01:00
Thilo Graf
cbeecab801
CComponentsExtTextForm: init with gradient support and sl_repaint slot
2017-01-31 16:36:41 +01:00
Thilo Graf
5c8aa90e01
CComponentsForm: add some usefull slots/signal to help paint backgrounds
...
Requried to paint form items only on changed contents and on repaint
2017-01-31 16:36:41 +01:00
Thilo Graf
384e98c089
CCDraw: add new attribut force_paint_bg
...
should help for some repaint actions
2017-01-31 16:36:41 +01:00
Thilo Graf
8bd4633cb4
CComponentsText: fix order of paint init
2017-01-31 16:36:41 +01:00
Thilo Graf
26eb4d079b
Experimental try to rework isPainted()
2017-01-31 16:36:41 +01:00
Thilo Graf
81f26a327d
CComponentsFrmClock: add slot to handle enforced repaint of segments
...
If clock removed from screen and instance is not destroyed, then we must
ensure repaint of segments after painted background.
This is required if segments are only will paint if
their content was changed and attribut ct_force_text_paint = false.
2017-01-31 16:36:41 +01:00
Thilo Graf
0eb8c7b173
CCDraw: add signal OnAfterPaintBg
2017-01-31 16:36:41 +01:00
Thilo Graf
44eebba080
CCDraw: simplified statement for blink init
2017-01-31 16:36:40 +01:00
Thilo Graf
cced4eba9a
CComponentsLabel: Added missing overloaded counterpart to CComponentsText(parent) constructor.
2017-01-31 16:36:40 +01:00
Thilo Graf
2e24663a3f
cc_types.h: remove obsolete type enums
2017-01-31 16:36:40 +01:00
Thilo Graf
c42f1240f0
CComponentsText: fix wrong item type
2017-01-31 16:36:40 +01:00
Thilo Graf
58316d2091
CComponentsHeader: fix order inside overloaded methode setCaption()
...
Stop() was never touched with string version of setCaption()
2017-01-31 16:36:40 +01:00
Jacek Jendrzej
f045fb18e9
src/gui/components/cc_item_progressbar.cpp revert static
2017-01-30 19:26:44 +01:00
Jacek Jendrzej
0056a53321
some inits
2017-01-30 19:04:17 +01:00
Jacek Jendrzej
f4f351e9ba
some inits
2017-01-30 17:22:41 +01:00
Thilo Graf
5f0aea48d2
CComponentsDetailLine: remove multiple init of cc_save_bg.
...
Init is passed with paintFbItems() at the end of paint() methode.
2017-01-30 11:27:49 +01:00
Jacek Jendrzej
f76dda36df
fix uninitialised values
2017-01-29 20:54:35 +01:00
Thilo Graf
002cc4c74e
CComponentsFrmClock: add missing reinit
2017-01-09 21:28:59 +01:00
Thilo Graf
d0aa901d70
CComponentsFrmClock: disable digit height
...
Using of digit height is not really required here.
eg. better centering
2017-01-09 20:47:46 +01:00
Thilo Graf
ffeb2d6459
CComponentsFrmClock/CInfoClock: simplify font init
2017-01-08 14:39:38 +01:00
Thilo Graf
a9b8b22339
CComponentsFooter: optimize button position and size
...
Buttons are now smaller so it should be enough, to center only, if not
please report.
2017-01-05 22:53:31 +01:00
Thilo Graf
60a77d38b3
CComponentsFooter: fix default button font type
...
Deafult buttonfont is FONT_TYPE_BUTTON_TEXT not FONT_TYPE_MENU_FOOT
2017-01-05 22:19:18 +01:00
Thilo Graf
a5d2c2cb1d
CComponentsButton: try to fix fallback for font size
...
Some conditions were not catched.
2017-01-05 22:19:18 +01:00
Thilo Graf
4a03eb6980
CComponentsButton: fix height comparsion
...
comparsion with itself
2017-01-05 22:19:18 +01:00
Thilo Graf
b335408913
CComponentsButton: try to fix font size in buttons
...
Some text in button chains had different font sizes. To see in some
Messageboxes.
2016-12-30 20:33:26 +01:00