Commit Graph

785 Commits

Author SHA1 Message Date
Thilo Graf
9dcee01e69 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.


Origin commit data
------------------
Commit: 55ac581523
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-23 (Sun, 23 Oct 2016)
2016-10-24 10:31:28 +02:00
Thilo Graf
fc538b2012 CComponentsTimer: add support for nano seconds
To enable nano mode, parameter is_nano must set to true.


Origin commit data
------------------
Commit: d0dd14040f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-20 (Thu, 20 Oct 2016)
2016-10-24 10:31:28 +02:00
Thilo Graf
3534f40441 CComponentsFooter: reduce button height inside footer
TODO: more optimization seems required


Origin commit data
------------------
Commit: 542de648f5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-17 (Mon, 17 Oct 2016)
2016-10-24 10:31:27 +02:00
Thilo Graf
254d9366c3 CCDraw: add signals into hide() methode
alows to use slots


Origin commit data
------------------
Commit: 78259c6ec3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-17 (Mon, 17 Oct 2016)
2016-10-24 10:31:27 +02:00
Thilo Graf
77f953cdbb CComponentsWindow: prepare possibility to change footer height
Origin commit data
------------------
Commit: 013cd1f2cc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-14 (Fri, 14 Oct 2016)
2016-10-24 10:31:27 +02:00
Thilo Graf
3278e0e103 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.


Origin commit data
------------------
Commit: edd2e48bbe
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)
2016-10-24 10:31:27 +02:00
Thilo Graf
1cb41d0ba7 CComponentsButton: remake caption size to 85% of button height
Better optical matching size.


Origin commit data
------------------
Commit: ce11a3a0df
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-07 (Fri, 07 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
6f30f1b274 CComponentsFooter: use different select color for button, if count = 1
TODO: 	should be configurable. Not all theme color combinations
	have matched contrasts.


Origin commit data
------------------
Commit: b3e7e49592
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-07 (Fri, 07 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
a9f00a51b8 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.


Origin commit data
------------------
Commit: 5bd4903b27
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-07 (Fri, 07 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
418611f057 CComponentsItem: ensure some dimensions for shadow are not < 0
Origin commit data
------------------
Commit: 59e8a17061
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-07 (Fri, 07 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
bab4bd2782 CComponentsButton: remove enableShadow() from button class
is not required


Origin commit data
------------------
Commit: 03d010fa29
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-07 (Fri, 07 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
25e64f1bfc 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)


Origin commit data
------------------
Commit: f62ddcf61d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-06 (Thu, 06 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
fcb732f839 CComponentsPicture: use body color as default clean up color
Origin commit data
------------------
Commit: 9668f89db1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-05 (Wed, 05 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
48e9dc11f3 CCDraw: add private variable col_shadow_clean
Should help to control shadow clean up in some constallations


Origin commit data
------------------
Commit: 7266628207
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-05 (Wed, 05 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
dabba34177 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.


Origin commit data
------------------
Commit: 0f6e8e1f5d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-05 (Wed, 05 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
93e0dd143c CComponentsFooter: remove debug spam
Origin commit data
------------------
Commit: ebf2e65b38
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-05 (Wed, 05 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
3119fa58e1 cc_frm_button.cpp/cc_frm_footer.cpp: fix passed parameter
were not passed through


Origin commit data
------------------
Commit: e2a1e7dc5b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-30 (Fri, 30 Sep 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
2871269810 CComponentsForm: add parameters to setSelectedItem() methode
Were not passed to items


Origin commit data
------------------
Commit: 375451f0a6
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-30 (Fri, 30 Sep 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
7179f3d3f0 Try to rework footer
* try to fix enableButtonShadow(), seems an init is missing
* shadow fixed


Origin commit data
------------------
Commit: 2e631fd0ce
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-24 (Sat, 24 Sep 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
164f91798d CComponentsItem: unused vars commented out
Origin commit data
------------------
Commit: eb78743e4a
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-14 (Wed, 14 Sep 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
2e7deeb88b CComponentsItem: remove frame witdth from boxrad calculation
This fix possible artefacts on the bottom right corner with frame


Origin commit data
------------------
Commit: b6185ea78d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-12 (Mon, 12 Sep 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
4300865679 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


Origin commit data
------------------
Commit: a17d61de8c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-30 (Tue, 30 Aug 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
c759d6ddfb CComponetnsItem: try to assign shadow areas
TODO: possible crashes on some constellations


Origin commit data
------------------
Commit: 929b5da892
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-27 (Sat, 27 Aug 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
a54434519f cc_types.h: add compatible types shadow types
CC_SHADOW_ON is should compatible


Origin commit data
------------------
Commit: 147246cead
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-27 (Sat, 27 Aug 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
dba17b359c CComponentsFooter: add member enableButtonShadow()
Possibility to pass button properties into button objects


Origin commit data
------------------
Commit: 363cf101d1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
a6f28430c5 CComponentsFooter: reduced button height for better optical view into footer
Origin commit data
------------------
Commit: 779c51bd00
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
8b1bc5fb65 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.


Origin commit data
------------------
Commit: 3477e28cd7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
e58f8fafd5 shadow: paint shadow layer with multiple renderboxes
Should help to paint a clean shadow frame


Origin commit data
------------------
Commit: 307b2763bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-18 (Thu, 18 Aug 2016)

Origin message was:
------------------
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
36d6eeea06 CMsgBox: add option to enable/disable button background
replaces var name btn_contour for better plausibility


Origin commit data
------------------
Commit: be740c1552
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-18 (Thu, 18 Aug 2016)
2016-10-24 10:31:24 +02:00
Thilo Graf
205838789f CCDraw: try to fix possible data race
Origin commit data
------------------
Commit: fc2eb68edc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-16 (Sat, 16 Apr 2016)
2016-10-24 10:31:24 +02:00
Thilo Graf
11b3307251 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


Origin commit data
------------------
Commit: dde298b1b7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-04 (Mon, 04 Apr 2016)
2016-10-24 10:31:24 +02:00
vanhofen
4d9ddb50ec cc_item_infobox: user OFFSET defines; fix width of textbox
Origin commit data
------------------
Commit: e8e237df40
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)

Origin message was:
------------------
- cc_item_infobox: user OFFSET defines; fix width of textbox
2016-10-13 19:03:38 +02:00
Thilo Graf
acdad6e70f CComponentsText: add missing member to get current font
Origin commit data
------------------
Commit: 1e388d848c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)
2016-10-13 09:39:35 +02:00
Thilo Graf
9c386ca59f CComponentsScrollBar: disable scrollbar color gradient
Was for testing only, now usual properties used.


Origin commit data
------------------
Commit: 422f5872e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-12 (Wed, 12 Oct 2016)
2016-10-12 10:08:18 +02:00
Thilo Graf
8313671ee3 CComponentsScrollBar: fix trasnparent background arrow icons
parameter was disabled


Origin commit data
------------------
Commit: 7b334f8883
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-12 (Wed, 12 Oct 2016)
2016-10-12 09:42:46 +02:00
vanhofen
892603fe68 rename customcolor.h -> color_custom.h; reduce unneeded inludes
Origin commit data
------------------
Commit: 104d21e784
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
2016-10-10 14:19:55 +02:00
vanhofen
61370ed6c7 cc_frm_button: use same framecolor as used in messagebox/msgbox
Origin commit data
------------------
Commit: 26e0926586
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- cc_frm_button: use same framecolor as used in messagebox/msgbox
2016-10-10 14:19:55 +02:00
vanhofen
5889f018c0 add and use OFFSET_INTER definition
Origin commit data
------------------
Commit: 98500fdeb6
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- add and use OFFSET_INTER definition
2016-10-10 14:19:55 +02:00
vanhofen
f21851aec0 rename SHADOW_OFFSET -> OFFSET_SHADOW
Origin commit data
------------------
Commit: 5d450c60d3
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename SHADOW_OFFSET -> OFFSET_SHADOW
2016-10-10 14:19:55 +02:00
vanhofen
64744ba140 colors: add COL_PROGRESSBAR wrapper
Origin commit data
------------------
Commit: be40e67b70
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_PROGRESSBAR wrapper
2016-10-10 14:19:55 +02:00
vanhofen
58b3052ab5 ccomponents: fix frame color
Origin commit data
------------------
Commit: 01f32241e4
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- ccomponents: fix frame color
2016-10-10 14:19:55 +02:00
vanhofen
af3e39a47d colors: add COL_SCROLLBAR_PASSIVE wrapper
Origin commit data
------------------
Commit: 6629b64d6c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_SCROLLBAR_PASSIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
4b3b25ca7a colors: add COL_SCROLLBAR_ACTIVE wrapper
Origin commit data
------------------
Commit: 7e7d4e5fc1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_SCROLLBAR_ACTIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
1aefa781c1 ccomponents: just code cosmetics; formatting
Origin commit data
------------------
Commit: e8c77b6b7f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- ccomponents: just code cosmetics; formatting
2016-10-10 14:19:54 +02:00
vanhofen
897dc6ae8c colors: add COL_FRAME wrapper
Origin commit data
------------------
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper
2016-10-10 14:19:54 +02:00
Thilo Graf
95ab3ea943 CComponentsWindow: remove wrong corner assignment
Overwrites corner mode for already assigned corner type for body object and
previous statement is canceled. This should avoid this.


Origin commit data
------------------
Commit: f90440e0f1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-07 (Fri, 07 Oct 2016)
2016-10-07 14:25:59 +02:00
Thilo Graf
36247549fb CComponentsExtTextForm: add methode to get current font
Default font is generated by class it self, so it is useful
to have access to current font if is required by implemenations.


Origin commit data
------------------
Commit: ac58c8c016
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
2016-10-03 01:45:14 +02:00
Thilo Graf
93ca892022 CComponentsExtTextForm: add missed parameter font_text
Origin commit data
------------------
Commit: 80753c75d1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
2016-10-03 01:45:09 +02:00
Thilo Graf
43477d076a CComponentsItem: prevent reinit of already initialized parent form
Origin commit data
------------------
Commit: a4b2e25bf2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
2016-09-29 10:19:37 +02:00
Thilo Graf
c8f5eeea31 CSignalBox: add missing member to set frontend
Remove double init of sig items; Will be done already by paintScale().
Ensure reset of last sig value on fe change.
Prevent possible segfault if fe is not defined.


Origin commit data
------------------
Commit: f68fd5ac19
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
2016-09-28 21:12:32 +02:00