Commit Graph

790 Commits

Author SHA1 Message Date
Thilo Graf
93c032a476 CComponentsButton: try to fix fallback for font size
Some conditions were not catched.


Origin commit data
------------------
Branch: ni/coolstream
Commit: a5d2c2cb1d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-03 (Tue, 03 Jan 2017)



------------------
This commit was generated by Migit
2017-01-05 22:19:18 +01:00
Thilo Graf
0a460b0668 CComponentsButton: fix height comparsion
comparsion with itself


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4a03eb6980
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-05 (Thu, 05 Jan 2017)



------------------
This commit was generated by Migit
2017-01-05 22:19:18 +01:00
Thilo Graf
0cc71f1a36 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
------------------
Branch: ni/coolstream
Commit: b335408913
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)



------------------
This commit was generated by Migit
2016-12-30 20:33:26 +01:00
Thilo Graf
624aaed1a8 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
------------------
Branch: ni/coolstream
Commit: b98319cb91
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)



------------------
This commit was generated by Migit
2016-12-30 20:33:26 +01:00
Thilo Graf
7b86130483 CComponentsWindow: use FONT_TYPE_BUTTON_TEXT instead FONT_TYPE_MENU_FOOT
Buttton text is not the same like footer text.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6a3b07152f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)



------------------
This commit was generated by Migit
2016-12-30 20:33:26 +01:00
Thilo Graf
4bff9c78cc CComponentsTimer: try to fix possible uncanceled thread
Origin commit data
------------------
Branch: ni/coolstream
Commit: e9122fbc4b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-30 20:33:26 +01:00
Thilo Graf
5d53e0bf31 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
------------------
Branch: ni/coolstream
Commit: 4cdae3fdf6
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-27 (Tue, 27 Dec 2016)



------------------
This commit was generated by Migit
2016-12-30 20:33:26 +01:00
Thilo Graf
0e8b6cdd57 CComponentsButton: rename cc_btn_capt -> cc_btn_text
More plausible


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2889fbd70d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)



------------------
This commit was generated by Migit
2016-12-30 20:33:26 +01:00
Jacek Jendrzej
db5ba19db5 some dead assignment
Origin commit data
------------------
Branch: ni/coolstream
Commit: c0564ec574
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-29 (Thu, 29 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-29 18:51:06 +01:00
vanhofen
ea250639ac themes: allow progressbar-settings in themes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 888bfb6687
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-29 (Thu, 29 Dec 2016)

Origin message was:
------------------
- themes: allow progressbar-settings in themes

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-29 00:47:34 +01:00
Thilo Graf
e21a733f55 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
------------------
Branch: ni/coolstream
Commit: 3cd509aa2d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-27 (Tue, 27 Dec 2016)



------------------
This commit was generated by Migit
2016-12-27 18:18:00 +01:00
Thilo Graf
99d8ea8ec5 partial revert: "CTextBox: expand parameters of member setTextBorderWidth()"
related commit: 6a4aa31209

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: fad2adffa2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-22 (Thu, 22 Dec 2016)



------------------
This commit was generated by Migit
2016-12-22 09:49:40 +01:00
vanhofen
f475e0e9ce cc_frm_scrollbar: use SCROLLBAR_WIDTH define
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-20 10:26:59 +01:00
Thilo Graf
2fa7e372c6 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
------------------
Branch: ni/coolstream
Commit: 239496c207
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-18 (Sun, 18 Dec 2016)



------------------
This commit was generated by Migit
2016-12-18 20:30:41 +01:00
Thilo Graf
92d8cdc5d0 CCDraw: add overloaded version of paint Blink()
It's useful to have synchronized timer for more than one item.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f7ad79c371
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-17 (Sat, 17 Dec 2016)



------------------
This commit was generated by Migit
2016-12-17 22:39:15 +01:00
vanhofen
cd57a481c9 cc_frm_scrollbar: fix offsets; use OFFSET defines
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-16 09:03:07 +01:00
vanhofen
981f79c1a9 cc_frm_scrollbar: set default height to 0
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-16 09:03:07 +01:00
vanhofen
654df79449 cc_frm: avoid artificially offsets
Origin commit data
------------------
Branch: ni/coolstream
Commit: b46a35cdf4
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-16 (Fri, 16 Dec 2016)

Origin message was:
------------------
- cc_frm: avoid artificially offsets

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-16 09:03:07 +01:00
Thilo Graf
9558b979ab CCDraw: reduce debug spam
Origin commit data
------------------
Branch: ni/coolstream
Commit: 689866c872
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-15 22:02:21 +01:00
Thilo Graf
4c022bdeb0 CComponentsScrollBar: fix pos and use current width to set height of arrows
This fix size and position and dimensions of arrows.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6dda28d612
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)



------------------
This commit was generated by Migit
2016-12-15 21:56:41 +01:00
Thilo Graf
1444902fa2 CComponentsScrollBar: use corner settings for scrollbar body
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1d541834b1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-15 16:53:32 +01:00
Thilo Graf
62519d4891 CComponentsScrollBar: add easy to handle scrollbar methode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 728b95ac1c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-15 16:53:25 +01:00
Thilo Graf
c68b3f340e CComponentsHeader: fix font and height handling
Font was not changeable. setCaptionFont() was without effect.


Origin commit data
------------------
Branch: ni/coolstream
Commit: ab8aa77687
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-14 (Wed, 14 Dec 2016)



------------------
This commit was generated by Migit
2016-12-14 16:21:15 +01:00
Thilo Graf
38816e99af CCDraw: try to avoid rendering with bad dimensions
Origin commit data
------------------
Branch: ni/coolstream
Commit: bd5e82fdc4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-08 (Thu, 08 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-08 09:33:40 +01:00
vanhofen
5428d87a23 rename BUTTON_TOP to BUTTON_UP; it isn't a top-button
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0dc0789de8
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-07 (Wed, 07 Dec 2016)

Origin message was:
------------------
- rename BUTTON_TOP to BUTTON_UP; it isn't a top-button

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-07 15:37:03 +01:00
vanhofen
9d63f0ecad cc_frm_header: show left button before the right one
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3d78174b8f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-07 (Wed, 07 Dec 2016)

Origin message was:
------------------
- cc_frm_header: show left button before the right one

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-12-07 15:24:45 +01:00
TangoCash
d9386837e3 cc_frm correct scroll direction if more than 2 pages (thx dbo)
Signed-off-by: Thilo Graf <dbt@novatux.de>

picked from:
	github.com/TangoCash/neutrino-mp-cst-next
commit:
	abce1c6be4bae17f343d3ff878670184708aa185


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0c4c90bf2e
Author: TangoCash <eric@loxat.de>
Date: 2016-12-06 (Tue, 06 Dec 2016)



------------------
This commit was generated by Migit
2016-12-06 11:34:59 +01:00
Thilo Graf
7ed170cf11 CComponentsWindow: fix window body color
Color parameter was not passed to body. Parameters in constructor and
setters had no effect.


Origin commit data
------------------
Branch: ni/coolstream
Commit: c1ec746321
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-01 (Thu, 01 Dec 2016)



------------------
This commit was generated by Migit
2016-12-01 22:42:21 +01:00
Thilo Graf
2dfeba10f0 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).


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8bf6b7fb3a
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)



------------------
This commit was generated by Migit
2016-11-29 16:13:47 +01:00
Thilo Graf
192655ed15 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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 427b65813d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-27 (Sun, 27 Nov 2016)

Origin message was:
------------------
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.


------------------
This commit was generated by Migit
2016-11-28 21:44:05 +01:00
Thilo Graf
65c220e0c1 CComponentsExtTextForm: rework class overloading
class CComponentsExtTextFormLocalized is not required.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 31bfb1b383
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-27 (Sun, 27 Nov 2016)



------------------
This commit was generated by Migit
2016-11-28 21:43:33 +01:00
Thilo Graf
44ef21b006 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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9331c59b0e
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-28 (Mon, 28 Nov 2016)



------------------
This commit was generated by Migit
2016-11-28 21:42:50 +01:00
Thilo Graf
0455f9f697 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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: ee4a443c8a
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-23 (Wed, 23 Nov 2016)



------------------
This commit was generated by Migit
2016-11-23 10:33:58 +01:00
Thilo Graf
1d7894c3b8 CComponentsWindow: remove default values from internal init method
Is not really required for this private member.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4e1a3a89dc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-23 (Wed, 23 Nov 2016)



------------------
This commit was generated by Migit
2016-11-23 10:04:50 +01:00
Thilo Graf
b0770b9fec CComponentsInfoBox: add methode to get internal picture object
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0d2c612adb
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-21 (Mon, 21 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-21 10:55:11 +01:00
Thilo Graf
fe5586d27f CComponentsFrmClock: ensure that no radius is defined for inner items
Radius is not required for inner segments.
TODO: single segment


Origin commit data
------------------
Branch: ni/coolstream
Commit: 02c6df782c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-21 (Mon, 21 Nov 2016)



------------------
This commit was generated by Migit
2016-11-21 10:55:10 +01:00
Thilo Graf
5c85bb59c6 CComponentsFooter: use select/unselect colors from menues as default
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4b88a244da
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-20 16:33:53 +01:00
Thilo Graf
299994c446 CComponentsFooter: use minimal frame width as default for buttons
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7567f7de00
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-20 16:33:32 +01:00
Thilo Graf
b337697b1e CCDraw: add function for blink effect for cc items
NOTE: experimental, for examples see CTestMenu class


Origin commit data
------------------
Branch: ni/coolstream
Commit: 717dec02c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)



------------------
This commit was generated by Migit
2016-11-20 14:09:19 +01:00
Thilo Graf
9c47a80d3d CComponentsFooter: add parameter for frame width for selected buttons
Frame width was hard coded.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 696989dcf1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)



------------------
This commit was generated by Migit
2016-11-20 01:33:57 +01:00
Thilo Graf
a4660ddb26 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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 04a75327dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-19 (Sat, 19 Nov 2016)



------------------
This commit was generated by Migit
2016-11-19 23:21:06 +01:00
Thilo Graf
1d7fa5c914 Merge branch 'master' into pu/msgbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5394f4b2e1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-12 (Sat, 12 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-12 22:31:11 +01:00
vanhofen
0b245e051c cc_item_picture: reset keep_aspect variables after use
Origin commit data
------------------
Branch: ni/coolstream
Commit: 73b97ecd4d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-12 (Sat, 12 Nov 2016)

Origin message was:
------------------
- cc_item_picture: reset keep_aspect variables after use

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-12 22:00:12 +01:00
Thilo Graf
0018c2b158 Merge branch 'master' into pu/msgbox
Conflicts:
	src/gui/moviebrowser/mb.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3efaac5725
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-10 (Thu, 10 Nov 2016)



------------------
This commit was generated by Migit
2016-11-10 10:27:22 +01:00
vanhofen
f1160e84c0 cc_frm_header: use OFFSET define
Origin commit data
------------------
Branch: ni/coolstream
Commit: 15e24a3e66
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-07 (Mon, 07 Nov 2016)

Origin message was:
------------------
- cc_frm_header: use OFFSET define

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-07 21:08:51 +01:00
Thilo Graf
fbf803565f Merge branch 'master' into pu/msgbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3e7a1943c3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-06 (Sun, 06 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-06 23:16:36 +01:00
Thilo Graf
09beeabc34 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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 18695fb0c9
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-05 (Sat, 05 Nov 2016)



------------------
This commit was generated by Migit
2016-11-05 21:17:31 +01:00
Thilo Graf
d0f320bef1 Merge branch 'master' into pu/msgbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 28a146e0ba
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-05 (Sat, 05 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-05 00:08:05 +01:00
Thilo Graf
c782bff2b4 CComponentsInfoBox: fix missing calculation of image position with parent
Origin commit data
------------------
Branch: ni/coolstream
Commit: 90a693a1ec
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-04 (Fri, 04 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-04 23:56:29 +01:00
Thilo Graf
8b6a60f100 Merge branch 'master' into pu/msgbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: ab9bf2ffa6
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-02 (Wed, 02 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-11-02 21:05:36 +01:00