Thilo Graf
402c302bb8
Merge branch 'master' into pu/fb-setmode
2017-05-28 13:36:46 +02:00
Thilo Graf
294278aad3
CComponentsButton: fix offset between icon and text items
...
We have only two items, therfore it makes sense to set offset to 0
if we have only one item. Otherwise a single item will not be centered.
2017-05-28 13:34:17 +02:00
Thilo Graf
a5a2ac6037
CComponentsButton: use defined offset for append offset
2017-05-28 13:34:12 +02:00
Thilo Graf
f4175eefe8
Merge branch 'master' into pu/fb-setmode
2017-05-27 17:29:28 +02:00
Thilo Graf
c0fe5d2402
CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer
2017-05-27 17:27:04 +02:00
Thilo Graf
de3c14a881
CComponentsFrmClock: init OnTimer after ititialized timer object
...
Content of OnTimer was not considered after init of timer object.
2017-05-27 17:26:59 +02:00
Thilo Graf
1f8007c50c
CComponentsHeader: ensure reset of icon object
2017-05-27 02:51:36 +02:00
Thilo Graf
979e6370a7
CCDraw: expand debug output inside clearFbGradientData()
...
get info for addresses.
2017-05-27 02:51:36 +02:00
Thilo Graf
4455c65225
CComponentsFrmClock: fix wrong comparison
2017-05-27 02:51:36 +02:00
Thilo Graf
c0cc7ef192
Merge branch 'master' into pu/fb-setmode
2017-05-21 18:09:22 +02:00
Thilo Graf
36c8f4c24f
CComponentsButton: add missing init of col_body_old
...
Some changes on runtime were ignored on runtime.
2017-05-21 18:00:21 +02:00
Thilo Graf
9132e7de82
cc_item.h/cc_frm.h/cc_frm_button.h: use pre defined frame color as default
2017-05-21 18:00:21 +02:00
Jacek Jendrzej
152c4e3fe4
Merge branch 'master' into pu/mp
2017-05-11 16:44:05 +02:00
Thilo Graf
aaa34d8887
Merge branch 'master' into pu/fb-setmode
...
# Conflicts:
# src/gui/components/cc_frm_window.h
2017-05-11 12:18:38 +02:00
Thilo Graf
942a27e3ef
cc_frm_header.cpp/h: remove CTextBox types for title allignment
...
Title object has only width of current text content. This causes CTextBox
types have not a really visible effect. Now we have only three align types for title
and these are related to cc-text object position.
Involved classes adjusted too.
2017-05-11 12:15:16 +02:00
Thilo Graf
a26c1bc868
Merge branch 'master' into pu/fb-setmode
2017-05-11 08:43:29 +02:00
Thilo Graf
1b2f1d320d
CComponentsHeader: fix brace error
...
suggest explicit braces to avoid ambiguous ‘else’
2017-05-11 08:39:20 +02:00
Jacek Jendrzej
fb23ac0126
Merge branch 'master' into pu/mp
...
except c08144a9d9
edb0a5937e
2017-05-10 15:37:31 +02:00
Thilo Graf
60fed9cc02
Merge branch 'master' into pu/fb-setmode
2017-05-10 10:45:28 +02:00
Thilo Graf
5b541571f9
CComponentsHeader: Try to adopt different logo/title alignments
...
Not all constellations are tested. Please report.
2017-05-10 10:42:08 +02:00
Thilo Graf
178bf6f596
CComponentsHeader: fix centering of header title
2017-05-10 10:42:08 +02:00
Thilo Graf
c320dbf8ec
CComponentsHeader: remove double text color assignment
2017-05-10 10:42:08 +02:00
Thilo Graf
107db09299
CComponentsHeader: fix order of width calculation
...
Required for following position calculation
2017-05-10 10:42:08 +02:00
Jacek Jendrzej
0b2f2afe01
Merge branch 'master' into pu/mp
2017-05-05 13:27:14 +02:00
Thilo Graf
326fca55c0
Merge branch 'master' into pu/fb-setmode
2017-05-03 21:36:45 +02:00
Thilo Graf
18fb99688c
CComponentsHeader: optimize logo size/position handling
...
Prevent oversized paint with stupid screen and/or font size settings
2017-05-03 21:29:41 +02:00
Thilo Graf
cb02d6253d
Revert "-cc_form_header: add max caption width"
...
This reverts commit c482dd139f
.
2017-05-03 21:29:41 +02:00
Jacek Jendrzej
4ae57d1567
Merge branch 'master' into pu/mp
2017-05-02 22:35:18 +02:00
Thilo Graf
1d63606bb9
Merge branch 'master' into pu/fb-setmode
2017-05-02 21:15:26 +02:00
TangoCash
c482dd139f
-cc_form_header: add max caption width
...
picked from: https://github.com/TangoCash/neutrino-mp-cst-next
commit: 4ff6c9f89b194c5fffdc4ee4e4eb744829be975f
Signed-off-by: Thilo Graf <dbt@novatux.de >
review reqiured
2017-05-02 21:07:59 +02:00
Thilo Graf
801d1beb10
CComponentsForm: expand debug output with address.
2017-05-02 21:07:56 +02:00
Thilo Graf
30b58f4940
cc_types: add missing image types
2017-05-02 21:07:52 +02:00
Thilo Graf
e7d60f7c08
CComponentsForm: use current bg save mode while paint items
...
Mode was always false but current mode could be required in
many constellations.
2017-05-02 21:07:45 +02:00
Thilo Graf
5ac5db718d
CCDraw: add methode do get current background save mode
2017-05-02 21:07:36 +02:00
Thilo Graf
5b2a013da5
Merge branch 'master' into pu/fb-setmode
2017-04-29 22:51:54 +02:00
Jacek Jendrzej
d8ba9c822a
Merge branch 'master' into pu/mp
2017-04-29 19:03:17 +02:00
Thilo Graf
891b2e9ad2
cc_frm_chain.cpp: fix c/p error in comment
2017-04-29 18:11:06 +02:00
Thilo Graf
1a750df510
Merge branch 'master' into pu/fb-setmode
2017-04-29 18:02:20 +02:00
Thilo Graf
c8326af0df
CComponentsHeader: adjust context button offset
2017-04-29 18:00:03 +02:00
Thilo Graf
3dda388c8d
CComponentsFrmChain: add possibility to assign border offsets
2017-04-29 18:00:03 +02:00
Jacek Jendrzej
0ef6e3fe98
Merge branch 'master' into pu/mp
2017-04-27 14:27:27 +02:00
Thilo Graf
19fc8c6d3b
CComponentsForm: add member hideCCItems()
...
In case of items with cached background it is useful to have
possibility to restore their background. (eg. items are painted
outside of form).
2017-04-27 09:27:45 +02:00
Thilo Graf
71606d0860
CComponentsHeader: rectification for 'optimize auto size mode for logos'
...
see commit: 76cd93555d
Additional variable was required.
Values were overwritten and had no effect.
2017-04-27 09:27:45 +02:00
M. Liebmann
76574279a5
Merge branch 'master' into pu/fb-setmode
2017-04-26 14:06:44 +02:00
Thilo Graf
c2bc8b4f8f
CComponentsHeader: fix logo position with clock
...
This reverts "fix logo position with clock",
commit b696007ec8
.
Was not the right way.
Id's are not in visual order, therefore it's better to calculate direct
with the ''width"" properties of possible following items clock
and context buttons.
2017-04-26 12:24:21 +02:00
M. Liebmann
c91084aa14
Merge branch 'master' into pu/fb-setmode
2017-04-26 04:45:01 +02:00
Jacek Jendrzej
b696007ec8
fix logo position with clock
2017-04-25 16:38:47 +02:00
Jacek Jendrzej
de7847f096
Merge branch 'master' into pu/mp
2017-04-25 13:43:33 +02:00
Thilo Graf
8554722323
Merge branch 'master' into pu/fb-setmode
2017-04-25 11:46:41 +02:00
Thilo Graf
76cd93555d
CComponentsHeader: optimize auto size mode for logos
...
With very large font size settings it is possible
that header is too large for reasonable display of logos, because of
possible bad upscale effects (eg. step effects).
So it seems it's better to use original size as largest possible size.
2017-04-25 11:38:30 +02:00