Stefan Seyfried
c6d7968381
Merge remote-tracking branch 'tuxbox/master'
2016-12-04 18:02:51 +01:00
Thilo Graf
c1ec746321
CComponentsWindow: fix window body color
...
Color parameter was not passed to body. Parameters in constructor and
setters had no effect.
2016-12-01 22:42:21 +01:00
Thilo Graf
8bf6b7fb3a
CComponentsFooter: fix wrong text color with single button in footers
...
* remove size compare
If only one button exists, possible new text color would be ignored
and wrong Text color was visible with one item.
This behavior was observed in message boxes with
single buttons (eg OK, or Cancel).
2016-11-29 16:13:47 +01:00
Thilo Graf
427b65813d
CComponentsFooter: disable gradient for footers
...
This is not really completly implemented for footer at the momemnt, because
button objects are still not prepared or tuned for that.
If it is enabled, currently it could occur unintentionally background behavior
eg.: flickereffects or background display errors in button objects.
NOTE: anyway users can enable gradient in theme files and could override this setting.
Now here it is globally disabled for footers. If it works right,
it will be enabled in future.
2016-11-28 21:44:05 +01:00
Thilo Graf
31bfb1b383
CComponentsExtTextForm: rework class overloading
...
class CComponentsExtTextFormLocalized is not required.
2016-11-28 21:43:33 +01:00
Thilo Graf
9331c59b0e
CComponentsText: revert inheritition of CBox, useage as object
...
It has shown, that the positioning and
Dimensions calculations are not correct. CBox object must be embedded
with frame properties.
2016-11-28 21:42:50 +01:00
Thilo Graf
ee4a443c8a
CComponentsItem: fix possible negativ value for box radius
...
If frame width > 0 and radius too small, we have an negative value.
This should prevent this.
2016-11-23 10:33:58 +01:00
Thilo Graf
4e1a3a89dc
CComponentsWindow: remove default values from internal init method
...
Is not really required for this private member.
2016-11-23 10:04:50 +01:00
Thilo Graf
0d2c612adb
CComponentsInfoBox: add methode to get internal picture object
2016-11-21 10:55:11 +01:00
Thilo Graf
02c6df782c
CComponentsFrmClock: ensure that no radius is defined for inner items
...
Radius is not required for inner segments.
TODO: single segment
2016-11-21 10:55:10 +01:00
Thilo Graf
4b88a244da
CComponentsFooter: use select/unselect colors from menues as default
2016-11-20 16:33:53 +01:00
Thilo Graf
7567f7de00
CComponentsFooter: use minimal frame width as default for buttons
2016-11-20 16:33:32 +01:00
Thilo Graf
717dec02c5
CCDraw: add function for blink effect for cc items
...
NOTE: experimental, for examples see CTestMenu class
2016-11-20 14:09:19 +01:00
Thilo Graf
696989dcf1
CComponentsFooter: add parameter for frame width for selected buttons
...
Frame width was hard coded.
2016-11-20 01:33:57 +01:00
Thilo Graf
04a75327dd
CSignalBar: remove offset for signal name and remove right allignment
...
Text have more space, otherwise it's possible it can be truncated.
Indent from left site of text don't looks not so good.
2016-11-19 23:21:06 +01:00
Thilo Graf
5394f4b2e1
Merge branch 'master' into pu/msgbox
2016-11-12 22:31:11 +01:00
svenhoefer
73b97ecd4d
- cc_item_picture: reset keep_aspect variables after use
2016-11-12 22:00:12 +01:00
Stefan Seyfried
2c92d112d0
Merge remote-tracking branch 'tuxbox/master'
2016-11-12 18:06:26 +01:00
Thilo Graf
3efaac5725
Merge branch 'master' into pu/msgbox
...
Conflicts:
src/gui/moviebrowser/mb.cpp
2016-11-10 10:27:22 +01:00
svenhoefer
15e24a3e66
- cc_frm_header: use OFFSET define
2016-11-07 21:08:51 +01:00
Thilo Graf
3e7a1943c3
Merge branch 'master' into pu/msgbox
2016-11-06 23:16:36 +01:00
Thilo Graf
18695fb0c9
CComponentsInfoBox: ensure matching object height after assigned image
...
Images are not defined with constructor, so it is possible we must
consider the image height after called setPicture() methode.
This is important if an infobox sould be
added into a cc form object. This avoids overlapping of dynamic added items.
2016-11-05 21:17:31 +01:00
Thilo Graf
28a146e0ba
Merge branch 'master' into pu/msgbox
2016-11-05 00:08:05 +01:00
Thilo Graf
90a693a1ec
CComponentsInfoBox: fix missing calculation of image position with parent
2016-11-04 23:56:29 +01:00
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