Thilo Graf
ab9bf2ffa6
Merge branch 'master' into pu/msgbox
2016-11-02 21:05:36 +01:00
Jacek Jendrzej
b8849d53b5
fix possible segfault and negative height
2016-10-31 15:53:29 +01:00
Thilo Graf
dbe8007882
Merge branch 'master' into pu/msgbox
2016-10-29 20:49:42 +02:00
Thilo Graf
27dc0228a5
components/widget: add doxygen config file to create documentations
...
If you want to create a documantation,
please move into current directory that contains the 'Doxyfile' and do execute command
''doxygen Doxyfile''
This creates usually a subdirectory named /doc/html/
This contains documentation contents in html format.
Open /doc/html/index.html in your browser and you will see contents.
2016-10-29 20:47:57 +02:00
Thilo Graf
9b9d2542e6
Merge branch 'master' into pu/msgbox
2016-10-28 08:05:34 +02:00
svenhoefer
874f54af4b
- cc_item_picture: fix wrong operator in width calculation
2016-10-27 23:11:43 +02:00
Thilo Graf
55ac581523
CComponentsFooter: optimize select buttons, try to assign better contrast
...
Now it's possible to set parameters for frames and text.
Parameters are prdefined for better contrasts in select or default mode.
TODO: background modes have no effects at the moment. Here are other things need to be done.
2016-10-24 10:31:28 +02:00
Thilo Graf
d0dd14040f
CComponentsTimer: add support for nano seconds
...
To enable nano mode, parameter is_nano must set to true.
2016-10-24 10:31:28 +02:00
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
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
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
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
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
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
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
13ab1ebc8a
Merge remote-tracking branch 'tuxbox/master'
...
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
svenhoefer
e8e237df40
- cc_item_infobox: user OFFSET defines; fix width of textbox
2016-10-13 19:03:38 +02:00
Thilo Graf
1e388d848c
CComponentsText: add missing member to get current font
2016-10-13 09:39:35 +02:00
Thilo Graf
422f5872e4
CComponentsScrollBar: disable scrollbar color gradient
...
Was for testing only, now usual properties used.
2016-10-12 10:08:18 +02:00
Thilo Graf
7b334f8883
CComponentsScrollBar: fix trasnparent background arrow icons
...
parameter was disabled
2016-10-12 09:42:46 +02:00
svenhoefer
104d21e784
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
2016-10-10 14:19:55 +02:00
svenhoefer
26e0926586
- cc_frm_button: use same framecolor as used in messagebox/msgbox
2016-10-10 14:19:55 +02:00
svenhoefer
98500fdeb6
- add and use OFFSET_INTER definition
2016-10-10 14:19:55 +02:00
svenhoefer
5d450c60d3
- rename SHADOW_OFFSET -> OFFSET_SHADOW
2016-10-10 14:19:55 +02:00
vanhofen
be40e67b70
- colors: add COL_PROGRESSBAR wrapper
2016-10-10 14:19:55 +02:00
vanhofen
01f32241e4
- ccomponents: fix frame color
2016-10-10 14:19:55 +02:00
vanhofen
6629b64d6c
- colors: add COL_SCROLLBAR_PASSIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1
- colors: add COL_SCROLLBAR_ACTIVE wrapper
2016-10-10 14:19:54 +02:00