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
Stefan Seyfried
48ff7b36a2
Merge remote-tracking branch 'tuxbox/master'
2017-01-30 21:36:09 +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
Stefan Seyfried
a409047714
Merge remote-tracking branch 'tuxbox/master'
2017-01-22 22:59:39 +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
Thilo Graf
b98319cb91
CComponentsHeader/CComponentsFooter: prevent crash on changed font settings
...
Default fonts for header and footer must be handled too.
After font settings changes these objects could be invalid.
Default fonts have invalid pointers after font changes too. Extra reset is required.
2016-12-30 20:33:26 +01:00
Thilo Graf
6a3b07152f
CComponentsWindow: use FONT_TYPE_BUTTON_TEXT instead FONT_TYPE_MENU_FOOT
...
Buttton text is not the same like footer text.
2016-12-30 20:33:26 +01:00
Thilo Graf
e9122fbc4b
CComponentsTimer: try to fix possible uncanceled thread
2016-12-30 20:33:26 +01:00
Thilo Graf
4cdae3fdf6
CComponentsHeader: declare l_font, s_font as global
...
Useful for init in header sub classes. So its possible to use
other prefined size mode fonts
2016-12-30 20:33:26 +01:00
Thilo Graf
2889fbd70d
CComponentsButton: rename cc_btn_capt -> cc_btn_text
...
More plausible
2016-12-30 20:33:26 +01:00
Jacek Jendrzej
c0564ec574
some dead assignment
2016-12-29 18:51:06 +01:00
svenhoefer
888bfb6687
- themes: allow progressbar-settings in themes
2016-12-29 00:47:34 +01:00
Thilo Graf
3cd509aa2d
CComponentsTimer: disconnecting slots before stop timer thread, show error
...
Disconnecting of slots before stop threads ensures disconnecting
also on thread errors and keeps timer slots clear.
2016-12-27 18:18:00 +01:00
Thilo Graf
fad2adffa2
partial revert: "CTextBox: expand parameters of member setTextBorderWidth()"
...
related commit: 153d2f3c78
Since this commit, TextBox received a lot of optimizations, so it is possible
we have no described side effects.
2016-12-22 09:49:40 +01:00
svenhoefer
52ad1f76c2
- cc_frm_scrollbar: use SCROLLBAR_WIDTH define
2016-12-20 10:26:59 +01:00
Thilo Graf
239496c207
CComponentsHeader: ensure to have correct font instances after changed font
...
On possible changed font settings, font objects can be invalid and
we have a crash. With this fix it's possible, that
CNeutrinoApp::setupFont() method clean up header font object itself.
2016-12-18 20:30:41 +01:00
Thilo Graf
f7ad79c371
CCDraw: add overloaded version of paint Blink()
...
It's useful to have synchronized timer for more than one item.
2016-12-17 22:39:15 +01:00
svenhoefer
38c621ad5e
- cc_frm_scrollbar: fix offsets; use OFFSET defines
2016-12-16 09:03:07 +01:00
svenhoefer
c3439ad09d
- cc_frm_scrollbar: set default height to 0
2016-12-16 09:03:07 +01:00
svenhoefer
b46a35cdf4
- cc_frm: avoid artificially offsets
2016-12-16 09:03:07 +01:00
Thilo Graf
689866c872
CCDraw: reduce debug spam
2016-12-15 22:02:21 +01:00
Thilo Graf
6dda28d612
CComponentsScrollBar: fix pos and use current width to set height of arrows
...
This fix size and position and dimensions of arrows.
2016-12-15 21:56:41 +01:00
Thilo Graf
1d541834b1
CComponentsScrollBar: use corner settings for scrollbar body
2016-12-15 16:53:32 +01:00
Thilo Graf
728b95ac1c
CComponentsScrollBar: add easy to handle scrollbar methode
2016-12-15 16:53:25 +01:00
Thilo Graf
ab8aa77687
CComponentsHeader: fix font and height handling
...
Font was not changeable. setCaptionFont() was without effect.
2016-12-14 16:21:15 +01:00
Thilo Graf
bd5e82fdc4
CCDraw: try to avoid rendering with bad dimensions
2016-12-08 09:33:40 +01:00
svenhoefer
0dc0789de8
- rename BUTTON_TOP to BUTTON_UP; it isn't a top-button
2016-12-07 15:37:03 +01:00
svenhoefer
3d78174b8f
- cc_frm_header: show left button before the right one
2016-12-07 15:24:45 +01:00
TangoCash
0c4c90bf2e
cc_frm correct scroll direction if more than 2 pages (thx dbo)
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
picked from:
github.com/TangoCash/neutrino-mp-cst-next
commit:
abce1c6be4bae17f343d3ff878670184708aa185
2016-12-06 11:34:59 +01:00
Stefan Seyfried
f6c183931f
CCFooter::setButtonLabels: fix format-string warning
2016-12-04 18:03:32 +01:00