Thilo Graf
542de648f5
CComponentsFooter: reduce button height inside footer
...
TODO: more optimization seems required
2016-10-24 10:31:27 +02:00
Thilo Graf
78259c6ec3
CCDraw: add signals into hide() methode
...
alows to use slots
2016-10-24 10:31:27 +02:00
Thilo Graf
3280b44471
CMsgBox: ensure reset of progress value on used key
2016-10-24 10:31:27 +02:00
Thilo Graf
d50ef787a2
CMsgBox: enlarge footer height
...
Buttons has too small offset to bottom of footer.
Framed and shaded buttons are arranged on the top of footer, so
we have a larger offset.
2016-10-24 10:31:27 +02:00
Thilo Graf
013cd1f2cc
CComponentsWindow: prepare possibility to change footer height
2016-10-24 10:31:27 +02:00
Thilo Graf
edd2e48bbe
CComponentsForm: try to fix possible transparent bars
...
Ion enabled frame it's possible we have transparent bars
between frame and the last item on window bottom. This should avoid this.
2016-10-24 10:31:27 +02:00
Thilo Graf
c035b2fc15
CHintBox: add space for timeout bar
2016-10-24 10:31:27 +02:00
Thilo Graf
52abf18c22
CPictureViewerGui: add helpbox
2016-10-24 10:31:27 +02:00
Thilo Graf
cb3699deb5
CHintbox/CMsgBox: add vizualized timeout bar
2016-10-24 10:31:27 +02:00
Thilo Graf
b9d44a3fc8
CHintbox: use default text frame depends from default height and width
2016-10-24 10:31:27 +02:00
Thilo Graf
8579758884
Helpbox: fix possible transparent holes behind images
2016-10-24 10:31:27 +02:00
Thilo Graf
1338ce2b8e
CMovieHelp: add localized items
...
TODO: add missings locales
2016-10-24 10:31:27 +02:00
Thilo Graf
87a9a69578
CPersonalizeGui: remove centered text alignment fro helptext
2016-10-24 10:31:27 +02:00
Thilo Graf
3221b7467e
Helpbox: use auto sized width for footer button
2016-10-24 10:31:27 +02:00
Thilo Graf
bd57627b8f
Helpbox: use current shadow color
2016-10-24 10:31:27 +02:00
Thilo Graf
3b60a55f59
CHintBox: reduce window size for used auto size depends on text content
2016-10-24 10:31:26 +02:00
Thilo Graf
ce11a3a0df
CComponentsButton: remake caption size to 85% of button height
...
Better optical matching size.
2016-10-24 10:31:26 +02:00
Thilo Graf
b3e7e49592
CComponentsFooter: use different select color for button, if count = 1
...
TODO: should be configurable. Not all theme color combinations
have matched contrasts.
2016-10-24 10:31:26 +02:00
Thilo Graf
5bd4903b27
cc_item.cpp: subtract frame width from the inner radius Box
...
Is necessary, because otherwise the frame radius would not match with outside radius
This would mean that there are "holes" at the box corners.
So now it seems to work.
2016-10-24 10:31:26 +02:00
Thilo Graf
59e8a17061
CComponentsItem: ensure some dimensions for shadow are not < 0
2016-10-24 10:31:26 +02:00
Thilo Graf
03d010fa29
CComponentsButton: remove enableShadow() from button class
...
is not required
2016-10-24 10:31:26 +02:00
Thilo Graf
f62ddcf61d
cc_item.cpp: remove frame width from boxrad
...
In framed boxes, frame radius was too big and was looking bad.
Not sure if this is now fixed everywhere (eg. hintboxes)
2016-10-24 10:31:26 +02:00
Thilo Graf
857b494c47
CMsgBox: use same colors for window body, footer and button container
2016-10-24 10:31:26 +02:00
Thilo Graf
9d09bc36ce
CMovieBrowser: add current content background color as image backkground
...
Avoids transparent shadow artefacts during repaint of images
2016-10-24 10:31:26 +02:00
Thilo Graf
9668f89db1
CComponentsPicture: use body color as default clean up color
2016-10-24 10:31:26 +02:00
Thilo Graf
7266628207
CCDraw: add private variable col_shadow_clean
...
Should help to control shadow clean up in some constallations
2016-10-24 10:31:26 +02:00
Thilo Graf
0f6e8e1f5d
CComponentsButton: remove clear()-methode and initVarButton()
...
clear() killed all button object with all key values and key properties.
So return values of messeage objects was killed.
initVarButton() contains Oobjekt intits to already existant object.
Bad idea, if we init again or pre init with NULL.
Mode pass was missed.
2016-10-24 10:31:26 +02:00
Thilo Graf
ebf2e65b38
CComponentsFooter: remove debug spam
2016-10-24 10:31:26 +02:00
Thilo Graf
3e01cbe1ac
CMsgBox: set some alternate keys to default key values
2016-10-24 10:31:26 +02:00
Thilo Graf
b272c407d7
CMsgBox: add colors to debug output
2016-10-24 10:31:25 +02:00
Thilo Graf
e2a1e7dc5b
cc_frm_button.cpp/cc_frm_footer.cpp: fix passed parameter
...
were not passed through
2016-10-24 10:31:25 +02:00
Thilo Graf
375451f0a6
CComponentsForm: add parameters to setSelectedItem() methode
...
Were not passed to items
2016-10-24 10:31:25 +02:00
Thilo Graf
2e631fd0ce
Try to rework footer
...
* try to fix enableButtonShadow(), seems an init is missing
* shadow fixed
2016-10-24 10:31:25 +02:00
Thilo Graf
eb78743e4a
CComponentsItem: unused vars commented out
2016-10-24 10:31:25 +02:00
Thilo Graf
b6185ea78d
CComponentsItem: remove frame witdth from boxrad calculation
...
This fix possible artefacts on the bottom right corner with frame
2016-10-24 10:31:25 +02:00
Thilo Graf
a17d61de8c
Shadow: try to optimize shadow areas
...
* cleanup inner part of box on round corners, frames considered
* adopt implementations in some gui classes
* some debug lines removed
* test menu adopted
* try to fix corner caluculation to avoid transparent holes
2016-10-24 10:31:25 +02:00
Thilo Graf
b233c06af3
CTestMenu: adopt for last changes
2016-10-24 10:31:25 +02:00
Thilo Graf
929b5da892
CComponetnsItem: try to assign shadow areas
...
TODO: possible crashes on some constellations
2016-10-24 10:31:25 +02:00
Thilo Graf
147246cead
cc_types.h: add compatible types shadow types
...
CC_SHADOW_ON is should compatible
2016-10-24 10:31:25 +02:00
Thilo Graf
363cf101d1
CComponentsFooter: add member enableButtonShadow()
...
Possibility to pass button properties into button objects
2016-10-24 10:31:25 +02:00
Thilo Graf
779c51bd00
CComponentsFooter: reduced button height for better optical view into footer
2016-10-24 10:31:25 +02:00
Thilo Graf
3477e28cd7
CComponentsItem: fix changeing color on select switching of frames
...
expand select mode methodes with paremters for frame properties
This should make variables col_frame_sel and fr_thickness_sel superfluous.
2016-10-24 10:31:25 +02:00
Thilo Graf
1888189fb3
CTestMenu: shadow for circle
...
TODO: not really nice at the moment
2016-10-24 10:31:24 +02:00
Thilo Graf
307b2763bd
shadow: paint shadow layer with multiple renderboxes
...
Should help to paint a clean shadow frame
2016-10-24 10:31:24 +02:00
Thilo Graf
be740c1552
CMsgBox: add option to enable/disable button background
...
replaces var name btn_contour for better plausibility
2016-10-24 10:31:24 +02:00
Thilo Graf
fc2eb68edc
CCDraw: try to fix possible data race
2016-10-24 10:31:24 +02:00
Thilo Graf
dde298b1b7
CMsgBox: rework msgbox classes with Window class implementation
...
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.
TODO: fix and optimize details
2016-10-24 10:31:24 +02:00
Stefan Seyfried
b8cf8167f4
configure: fix short-filename logic
...
if configure was not called from absolute path, detection
would fail and huge filenames would be included in binary
(noticed in yocto krogoth release)
2016-10-24 10:00:51 +02:00
Stefan Seyfried
ae345d11d3
system/helpers: allow to build with c++11 compilers
2016-10-24 09:55:32 +02:00
Stefan Seyfried
645da64839
helpers.cpp: include fontrenderer.h
...
if Font class is used, the header should be included, too :-)
2016-10-24 09:46:05 +02:00