Commit Graph

820 Commits

Author SHA1 Message Date
Thilo Graf
1e3da560ed signals: reduce multiple includes for sigc++/bind.h
Origin commit data
------------------
Commit: e4d0abc7dc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)
2017-02-07 17:12:25 +01:00
Thilo Graf
b0295112ba Forms/header/clock: implement slot into OnBeforeRePaint
Origin commit data
------------------
Commit: 1c217b404f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-02 (Thu, 02 Feb 2017)
2017-02-02 11:18:27 +01:00
Thilo Graf
9c4ad3ab76 CComponentsSignals: add signal OnBeforeRePaint
Origin commit data
------------------
Commit: be8588a4a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-02 (Thu, 02 Feb 2017)
2017-02-02 11:18:27 +01:00
Thilo Graf
7647ad58fb CComponentsText: add signal OnBeforePaint into text paint() methode
Origin commit data
------------------
Commit: 53f956c0f9
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-27 (Fri, 27 Jan 2017)
2017-01-31 16:36:42 +01:00
Thilo Graf
f0bde87f0c CComponentsText: add missing parameters to kill() methode
Origin commit data
------------------
Commit: f219da23bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-27 (Fri, 27 Jan 2017)
2017-01-31 16:36:42 +01:00
Thilo Graf
93cfff7d2d CComponentsHeader: add missing paramters to kill methode
Origin commit data
------------------
Commit: ba9284fba7
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:42 +01:00
Thilo Graf
8c257ff449 CComponentsForm: remove debug spam
Origin commit data
------------------
Commit: 31146bd9af
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:42 +01:00
Thilo Graf
ddca089698 CComponentsText: add explicit kill methode and add ct_force_text_paint
After hide or kill text will does not paint without ct_force_text_paint,
so it is required to add this.


Origin commit data
------------------
Commit: 4c71edbd3c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:42 +01:00
Thilo Graf
3a56bbfb24 CComponentsExtTextForm: init with gradient support and sl_repaint slot
Origin commit data
------------------
Commit: cbeecab801
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
3bb81b5b73 CComponentsForm: add some usefull slots/signal to help paint backgrounds
Requried to paint form items only on changed contents and on repaint


Origin commit data
------------------
Commit: 5c8aa90e01
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
ee901f19d2 CCDraw: add new attribut force_paint_bg
should help for some repaint actions


Origin commit data
------------------
Commit: 384e98c089
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
2ffd5ab3d4 CComponentsText: fix order of paint init
Origin commit data
------------------
Commit: 8bd4633cb4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
2748077074 Experimental try to rework isPainted()
Origin commit data
------------------
Commit: 26eb4d079b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-19 (Thu, 19 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
d35dd47eaa CComponentsFrmClock: add slot to handle enforced repaint of segments
If clock removed from screen and instance is not destroyed, then we must
ensure repaint of segments after painted background.

This is required if segments are only will paint if
their content was changed and attribut ct_force_text_paint = false.


Origin commit data
------------------
Commit: 81f26a327d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
dea324de47 CCDraw: add signal OnAfterPaintBg
Origin commit data
------------------
Commit: 0eb8c7b173
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
7f7babeb52 CCDraw: simplified statement for blink init
Origin commit data
------------------
Commit: 44eebba080
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
ab0232f641 CComponentsLabel: Added missing overloaded counterpart to CComponentsText(parent) constructor.
Origin commit data
------------------
Commit: cced4eba9a
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
428788c8a4 cc_types.h: remove obsolete type enums
Origin commit data
------------------
Commit: 2e24663a3f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
916f9fb9fe CComponentsText: fix wrong item type
Origin commit data
------------------
Commit: c42f1240f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:40 +01:00
Thilo Graf
92d570b18d CComponentsHeader: fix order inside overloaded methode setCaption()
Stop() was never touched with string version of setCaption()


Origin commit data
------------------
Commit: 58316d2091
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-21 (Sat, 21 Jan 2017)
2017-01-31 16:36:40 +01:00
Jacek Jendrzej
7be5c2b3bf src/gui/components/cc_item_progressbar.cpp revert static
Origin commit data
------------------
Commit: f045fb18e9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 19:26:44 +01:00
Jacek Jendrzej
794fb2d032 some inits
Origin commit data
------------------
Commit: 0056a53321
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 19:04:17 +01:00
Jacek Jendrzej
c30af8edf8 some inits
Origin commit data
------------------
Commit: f4f351e9ba
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 17:22:41 +01:00
Thilo Graf
39eb60eedc CComponentsDetailLine: remove multiple init of cc_save_bg.
Init is passed with paintFbItems() at the end of paint() methode.


Origin commit data
------------------
Commit: 5f0aea48d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 11:27:49 +01:00
Jacek Jendrzej
542ba9679a fix uninitialised values
Origin commit data
------------------
Commit: f76dda36df
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-29 (Sun, 29 Jan 2017)
2017-01-29 20:54:35 +01:00
Thilo Graf
db337a9a4d CComponentsFrmClock: add missing reinit
Origin commit data
------------------
Commit: 002cc4c74e
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-09 (Mon, 09 Jan 2017)
2017-01-09 21:28:59 +01:00
Thilo Graf
c2f6fc5539 CComponentsFrmClock: disable digit height
Using of digit height is not really required here.
eg. better centering


Origin commit data
------------------
Commit: d0aa901d70
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-09 (Mon, 09 Jan 2017)
2017-01-09 20:47:46 +01:00
Thilo Graf
0a8605fbd4 CComponentsFrmClock/CInfoClock: simplify font init
Origin commit data
------------------
Commit: ffeb2d6459
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-08 (Sun, 08 Jan 2017)
2017-01-08 14:39:38 +01:00
Thilo Graf
8d6fb1e022 CComponentsFooter: optimize button position and size
Buttons are now smaller so it should be enough, to center only, if not
please report.


Origin commit data
------------------
Commit: a9b8b22339
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-05 (Thu, 05 Jan 2017)
2017-01-05 22:53:31 +01:00
Thilo Graf
da941689f0 CComponentsFooter: fix default button font type
Deafult buttonfont is FONT_TYPE_BUTTON_TEXT not FONT_TYPE_MENU_FOOT


Origin commit data
------------------
Commit: 60a77d38b3
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-03 (Tue, 03 Jan 2017)
2017-01-05 22:19:18 +01:00
Thilo Graf
35166dadce CComponentsButton: try to fix fallback for font size
Some conditions were not catched.


Origin commit data
------------------
Commit: a5d2c2cb1d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-03 (Tue, 03 Jan 2017)
2017-01-05 22:19:18 +01:00
Thilo Graf
18b9d54586 CComponentsButton: fix height comparsion
comparsion with itself


Origin commit data
------------------
Commit: 4a03eb6980
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-05 (Thu, 05 Jan 2017)
2017-01-05 22:19:18 +01:00
Thilo Graf
a1356ceff6 CComponentsButton: try to fix font size in buttons
Some text in button chains had different font sizes. To see in some
Messageboxes.


Origin commit data
------------------
Commit: b335408913
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)
2016-12-30 20:33:26 +01:00
Thilo Graf
476641a626 CComponentsHeader/CComponentsFooter: prevent crash on changed font settings
Default fonts for header and footer must be handled too.
After font settings changes these objects could be invalid.
Default fonts have invalid pointers after font changes too. Extra reset is required.


Origin commit data
------------------
Commit: b98319cb91
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)
2016-12-30 20:33:26 +01:00
Thilo Graf
7072471b76 CComponentsWindow: use FONT_TYPE_BUTTON_TEXT instead FONT_TYPE_MENU_FOOT
Buttton text is not the same like footer text.


Origin commit data
------------------
Commit: 6a3b07152f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)
2016-12-30 20:33:26 +01:00
Thilo Graf
ddb8e2f397 CComponentsTimer: try to fix possible uncanceled thread
Origin commit data
------------------
Commit: e9122fbc4b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)
2016-12-30 20:33:26 +01:00
Thilo Graf
64e72db3a4 CComponentsHeader: declare l_font, s_font as global
Useful for init in header sub classes. So its possible to use
other prefined size mode fonts


Origin commit data
------------------
Commit: 4cdae3fdf6
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-27 (Tue, 27 Dec 2016)
2016-12-30 20:33:26 +01:00
Thilo Graf
de7feba890 CComponentsButton: rename cc_btn_capt -> cc_btn_text
More plausible


Origin commit data
------------------
Commit: 2889fbd70d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)
2016-12-30 20:33:26 +01:00
Jacek Jendrzej
542feb926c some dead assignment
Origin commit data
------------------
Commit: c0564ec574
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-29 (Thu, 29 Dec 2016)
2016-12-29 18:51:06 +01:00
vanhofen
ff22643691 themes: allow progressbar-settings in themes
Origin commit data
------------------
Commit: 888bfb6687
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)

Origin message was:
------------------
- themes: allow progressbar-settings in themes
2016-12-29 00:47:34 +01:00
Thilo Graf
60ed437f3e CComponentsTimer: disconnecting slots before stop timer thread, show error
Disconnecting of slots before stop threads ensures disconnecting
also on thread errors and keeps timer slots clear.


Origin commit data
------------------
Commit: 3cd509aa2d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-27 (Tue, 27 Dec 2016)
2016-12-27 18:18:00 +01:00
Thilo Graf
9b76cf01e6 partial revert: "CTextBox: expand parameters of member setTextBorderWidth()"
related commit: 43a759358d

Since this commit, TextBox received a lot of optimizations, so it is possible
we have no described side effects.


Origin commit data
------------------
Commit: fad2adffa2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-22 (Thu, 22 Dec 2016)
2016-12-22 09:49:40 +01:00
vanhofen
66a2c95b0d cc_frm_scrollbar: use SCROLLBAR_WIDTH define
Origin commit data
------------------
Commit: 52ad1f76c2
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-20 (Tue, 20 Dec 2016)

Origin message was:
------------------
- cc_frm_scrollbar: use SCROLLBAR_WIDTH define
2016-12-20 10:26:59 +01:00
Thilo Graf
3069495033 CComponentsHeader: ensure to have correct font instances after changed font
On possible changed font settings, font objects can be invalid and
we have a crash. With this fix it's possible, that
CNeutrinoApp::setupFont() method clean up header font object itself.


Origin commit data
------------------
Commit: 239496c207
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-18 (Sun, 18 Dec 2016)
2016-12-18 20:30:41 +01:00
Thilo Graf
c98374ff73 CCDraw: add overloaded version of paint Blink()
It's useful to have synchronized timer for more than one item.


Origin commit data
------------------
Commit: f7ad79c371
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-17 (Sat, 17 Dec 2016)
2016-12-17 22:39:15 +01:00
vanhofen
77d89d2f0a cc_frm_scrollbar: fix offsets; use OFFSET defines
Origin commit data
------------------
Commit: 38c621ad5e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-16 (Fri, 16 Dec 2016)

Origin message was:
------------------
- cc_frm_scrollbar: fix offsets; use OFFSET defines
2016-12-16 09:03:07 +01:00
vanhofen
e5a5a8b41e cc_frm_scrollbar: set default height to 0
Origin commit data
------------------
Commit: c3439ad09d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-16 (Fri, 16 Dec 2016)

Origin message was:
------------------
- cc_frm_scrollbar: set default height to 0
2016-12-16 09:03:07 +01:00
vanhofen
3665652646 cc_frm: avoid artificially offsets
Origin commit data
------------------
Commit: b46a35cdf4
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-16 (Fri, 16 Dec 2016)

Origin message was:
------------------
- cc_frm: avoid artificially offsets
2016-12-16 09:03:07 +01:00
Thilo Graf
c0e881773a CCDraw: reduce debug spam
Origin commit data
------------------
Commit: 689866c872
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)
2016-12-15 22:02:21 +01:00
Thilo Graf
c6f16e5acf CComponentsScrollBar: fix pos and use current width to set height of arrows
This fix size and position and dimensions of arrows.


Origin commit data
------------------
Commit: 6dda28d612
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)
2016-12-15 21:56:41 +01:00