Commit Graph

42 Commits

Author SHA1 Message Date
Thilo Graf
289f5b30e6 CComponentsButton: increase default height of buttons
Origin commit data
------------------
Commit: 8e0d1c85f9
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-29 (Mon, 29 Feb 2016)
2016-02-29 10:38:55 +01:00
Thilo Graf
e4fbc51887 text screen save: try to rework screen save behavior for textbox objects
Screen save now always disabled by default and can be controlled
outside of relevant objects.


Origin commit data
------------------
Commit: 9d72b086a2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)
2016-01-21 11:00:38 +01:00
Thilo Graf
fc98fbf7bd CComponentsButton: fix transparecny of button icon
Background was black for some icons


Origin commit data
------------------
Commit: ff97b7d25f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
2016-01-05 15:06:18 +01:00
Thilo Graf
648f5dce05 CComponentsButton: remove current gradient from all buttons
This will comming soon, gradient is prepared for use but disabled at
the moment till some other parts of gui parts are provide gradient


Origin commit data
------------------
Commit: eec34222ea
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
2016-01-05 15:06:18 +01:00
Thilo Graf
72a289a90c components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
components: rework classes

- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Thilo Graf
92656b5981 CComponentsButton: simplify paint of button icon
Calculation of image aspect ratio now happens in picture object itself.


Origin commit data
------------------
Commit: b47a0ccaeb
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-11 (Sat, 11 Jul 2015)
2015-07-17 15:35:47 +02:00
Thilo Graf
2166b0e1b0 CComponentsButton: fix image scale
Wrong ratio calculation.


Origin commit data
------------------
Commit: cabe84bf0f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-06-30 (Tue, 30 Jun 2015)
2015-07-01 16:05:38 +02:00
vanhofen
64dae98d61 ccomponents: add missing slash to iconBasePath
Origin commit data
------------------
Commit: e85f32848c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-07 (Thu, 07 May 2015)

Origin message was:
------------------
- ccomponents: add missing slash to iconBasePath
2015-05-07 11:10:28 +02:00
Thilo Graf
2c91e5d3bd CComponentsButton: disable gradient
Not necessary as long not all or most gui buttons can provide gradient


Origin commit data
------------------
Commit: 47b37d4405
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-28 (Sat, 28 Mar 2015)
2015-03-29 22:40:15 +02:00
Thilo Graf
8c0279c4a0 CComponentsButton: fix fit of button icon
Scale was broken


Origin commit data
------------------
Commit: d33c4911d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-14 (Wed, 14 Jan 2015)
2015-03-29 22:40:08 +02:00
Thilo Graf
ca775fc8f1 CComponentsButton: use unified body colors in gradient mode
Some theme controlled colors don't really looks nice in some
combinations with window backgrounds.


Origin commit data
------------------
Commit: 66e5f03c92
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-30 (Thu, 30 Oct 2014)
2015-03-29 22:39:54 +02:00
Thilo Graf
c4d6eb2761 CComponentsButton: use of global button text color
Used text color was different to old button handler.


Origin commit data
------------------
Commit: 04083bc299
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-18 (Sat, 18 Oct 2014)
2015-03-29 22:39:52 +02:00
Thilo Graf
64a7f05f93 CComponentsForm: fix item offset with enabled frame
frame width was not considered


Origin commit data
------------------
Commit: f7faf07ab1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)
2015-03-29 22:39:50 +02:00
[CST] Focus
ec31342be8 gui/components/cc_frm_button.cpp: set CTextBox save screen flag
Origin commit data
------------------
Commit: fdd5486714
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
2015-03-06 14:13:59 +03:00
Thilo Graf
7ad7229716 CComponentsButton: apply color gradiant to buttons
Origin commit data
------------------
Commit: de2aebcebc
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:08:16 +04:00
Thilo Graf
ff07cd2023 CComponentsButton: add extended properties for button objects
Allows to assign values for events, msg, results. So it is possible
to evaluate/use these properties eg. directly in exec routines.


Origin commit data
------------------
Commit: 706ed0f31f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-26 (Tue, 26 Aug 2014)
2014-09-25 11:02:22 +04:00
Thilo Graf
46495cbf40 CComponentsPicture: structure of class highly simplified
It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.


Origin commit data
------------------
Commit: 5eb63b9515
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-20 (Fri, 20 Jun 2014)

Origin message was:
------------------
CComponentsPicture: structure of class highly simplified

It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.
2014-06-23 18:43:47 +02:00
vanhofen
3bba3094e2 change getRenderWidth() default to UTF8
Origin commit data
------------------
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8
2014-06-11 23:07:00 +02:00
Thilo Graf
a46fdbe619 CComponentsButton: use y position 0 for general alignment
Origin commit data
------------------
Commit: 9c4aadd2bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-04 (Sun, 04 May 2014)
2014-05-22 21:50:50 +02:00
Thilo Graf
a42e9a6992 CComponentsButton: ensure matching icons inside button
Some icons can be too large for defined button height, so it's required to
scale icons. Scaling happens inside cc_btn_icon_obj during its init.


Origin commit data
------------------
Commit: 9d014d2039
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-03 (Sat, 03 May 2014)
2014-05-22 21:50:49 +02:00
Thilo Graf
39f4d174a7 CComponentsButton: remove additonal y offset
Any other offset could have bad side effects for centered text,
it must be centered here. Other font sizes can make problems here.


Origin commit data
------------------
Commit: 75bf3aa276
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-03 (Sat, 03 May 2014)
2014-05-22 21:50:49 +02:00
Thilo Graf
c6af819f8a CComponentsButton: add class with const char* parameters for icon names
Origin commit data
------------------
Commit: 2c87bb750a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-22 21:50:47 +02:00
Thilo Graf
ff78f69368 CComponentsButton: ignonre objects if no inititalized
This makes it possible to use buttons with or without icons or text


Origin commit data
------------------
Commit: 95c7e44eb1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-22 21:50:46 +02:00
Thilo Graf
f2a19fbc2d CComponentsButton, CComponentsFooter: rework bestfit of buttons inside chain
Origin commit data
------------------
Commit: 9ffdb1cb98
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-22 21:50:45 +02:00
Thilo Graf
1482cebcc6 CComponentsButton: add possibility to change font type, whitespace fixes
Origin commit data
------------------
Commit: 419fc12f2e
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-30 (Wed, 30 Apr 2014)
2014-05-22 21:50:44 +02:00
Thilo Graf
bd223cb6c9 CComponentsButton: simplify handling of init of buttons with chain class
Origin commit data
------------------
Commit: 7b279ddd33
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-05-22 21:50:43 +02:00
Thilo Graf
f33efdbdc4 CComponents: add new parameter 'parent'
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)

New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.

Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.

Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.


Origin commit data
------------------
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 09:43:39 +01:00
Michael Liebmann
8ef66ccda2 CComponentsButton: Incrase height for btn font
Origin commit data
------------------
Commit: c4bff391a5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 00:02:46 +01:00
Thilo Graf
3c26fc3e4b CComponentsButton: reduce scope of variable face_x
The scope of the variable 'face_x' can be reduced. (style)


Origin commit data
------------------
Commit: 9ac35f0d92
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-24 (Tue, 24 Dec 2013)
2013-12-25 19:50:31 +01:00
[CST] Focus
b476a667c6 components: remove initVarForm calls in classes derived from CComponentsForm
Origin commit data
------------------
Commit: 062b10be2a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-29 17:27:10 +04:00
Thilo Graf
0fe6ad13d9 CComponentsButton: add members to get caption properties
Origin commit data
------------------
Commit: 812168416f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-09 (Sat, 09 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
775ca7962d CComponentsButton: involving of button text for dyn font evaluation
Origin commit data
------------------
Commit: a47091872b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-12 (Sat, 12 Oct 2013)
2013-10-16 11:54:06 +02:00
Thilo Graf
8d52697ff9 CComponentsButton: use dynamic fonts, remove old font handling
Origin commit data
------------------
Commit: c3a3eea0d8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-10 (Tue, 10 Sep 2013)
2013-10-16 11:54:04 +02:00
Thilo Graf
3419e9f3cd CComponentsButton: remove function blocks from header
Origin commit data
------------------
Commit: 19fa5e6418
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-20 (Fri, 20 Sep 2013)
2013-09-20 08:33:06 +02:00
Thilo Graf
975673532a CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type


Origin commit data
------------------
Commit: 33ec56ad6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-15 (Sun, 15 Sep 2013)
2013-09-19 08:24:40 +02:00
Thilo Graf
b637a1bb79 CComponentsButton: add localized button
So it's possible to use locales for button caption.


Origin commit data
------------------
Commit: be8e47fe3f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-09 (Mon, 09 Sep 2013)
2013-09-19 08:24:39 +02:00
Michael Liebmann
7b6498d39f Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values


Origin commit data
------------------
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)
2013-07-21 22:00:58 +02:00
Thilo Graf
2a050bd77c CComponentsButton: fix alignment of button items
Origin commit data
------------------
Commit: b18741efc7
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 00:34:07 +02:00
Thilo Graf
9cb86caf96 CComponentsButton: rework position handling for buttons and code comments
Origin commit data
------------------
Commit: 7d82da09ae
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-03 (Mon, 03 Jun 2013)
2013-06-03 22:12:48 +02:00
Thilo Graf
da9452cb46 CComponentsButton: use adequate arrangement for caption
Origin commit data
------------------
Commit: 85b1117f37
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-27 (Sat, 27 Apr 2013)
2013-04-28 16:48:10 +02:00
Thilo Graf
5dab12e9e7 CComponentsHeader/Button: force paint of text
Origin commit data
------------------
Commit: 988d1f3ea8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-27 (Sat, 27 Apr 2013)
2013-04-28 16:48:10 +02:00
Thilo Graf
32cb909a14 CComponents:add sub class CComponentsButton
Origin commit data
------------------
Commit: 04afa10e02
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-20 (Sat, 20 Apr 2013)
2013-04-20 12:53:25 +02:00