Commit Graph

71 Commits

Author SHA1 Message Date
Thilo Graf
a8f08a4439 cc_frm: add overloaded versions of getCCItemId() and removeCCItem()
Allows to use with item name as parameter.
Note: Requires that unique names are assigned!


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2ef4f86aa4
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-18 (Sat, 18 Jan 2020)



------------------
This commit was generated by Migit
2020-01-18 00:10:20 +01:00
Thilo Graf
d0fe91e775 cc_frm/cc_item_text: use mutexes in some members
Watched some problems with thredead parts in some
window objects (e.g. messageboxes, clock ...) thx satbaby for some hints
and testings


Origin commit data
------------------
Branch: ni/coolstream
Commit: 85956b90f7
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)



------------------
This commit was generated by Migit
2019-10-27 22:56:50 +01:00
Thilo Graf
e8929e8cbd components: use const bool& parameter in paint methodes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)


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

------------------
This commit was generated by Migit
2019-10-27 22:56:49 +01:00
Thilo Graf
43222b46f7 cc_frm.h: clean up remove unneeded virtual declarations
Origin commit data
------------------
Branch: ni/coolstream
Commit: bfc4ccc97d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-04-18 (Thu, 18 Apr 2019)


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

------------------
This commit was generated by Migit
2019-04-18 22:22:58 +02:00
Thilo Graf
dc7b24112d clean up: remove unnecessary virtual declarations from cc classes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6660f9835f
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)


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

------------------
This commit was generated by Migit
2018-12-08 23:15:13 +01:00
Thilo Graf
9d2e8434e9 CComponentsForm: add define for default select frame
Origin commit data
------------------
Branch: ni/coolstream
Commit: 672b66f21d
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-03-01 (Thu, 01 Mar 2018)


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

------------------
This commit was generated by Migit
2018-03-01 23:35:27 +01:00
Thilo Graf
a0dc7bae9a data types: use unified type name uint8_t instead u_int8_t
Origin commit data
------------------
Branch: ni/coolstream
Commit: 92adabc04b
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-01-19 (Fri, 19 Jan 2018)


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

------------------
This commit was generated by Migit
2018-01-21 20:19:18 +01:00
Stefan Seyfried
add2c84da1 add int type includes to cc class
Origin commit data
------------------
Branch: ni/coolstream
Commit: e803c1cf9f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-01-15 (Mon, 15 Jan 2018)


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

------------------
This commit was generated by Migit
2018-01-15 19:54:51 +01:00
Thilo Graf
184538db45 CComponentsForm: add functions to get used or free space of form dimensions
Origin commit data
------------------
Branch: ni/coolstream
Commit: 67a71d5e4e
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-04 (Fri, 04 Aug 2017)


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

------------------
This commit was generated by Migit
2017-08-08 14:25:12 +02:00
Thilo Graf
5bb95f5c79 CComponentsForm: add methods to get previous and next item
Origin commit data
------------------
Branch: ni/coolstream
Commit: a4af92d219
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-04 (Fri, 04 Aug 2017)


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

------------------
This commit was generated by Migit
2017-08-08 14:25:12 +02:00
Thilo Graf
7e3920a42e CCButtonSelect: outsource button select handling into own class
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4d753d7437
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)


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

------------------
This commit was generated by Migit
2017-06-15 01:01:54 +02:00
Thilo Graf
1c3c6bf230 cc_item.h/cc_frm.h/cc_frm_button.h: use pre defined frame color as default
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9132e7de82
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-21 (Sun, 21 May 2017)


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

------------------
This commit was generated by Migit
2017-05-21 18:00:21 +02:00
Thilo Graf
041b5e778b CComponentsForm: add member hideCCItems()
In case of items with cached background it is useful to have
possibility to restore their background. (eg. items are painted
outside of form).


Origin commit data
------------------
Branch: ni/coolstream
Commit: 19fc8c6d3b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-27 (Thu, 27 Apr 2017)



------------------
This commit was generated by Migit
2017-04-27 09:27:45 +02:00
Thilo Graf
112973c3ae CComponentsForm: move slots into base classes
Usable for all form classes


Origin commit data
------------------
Branch: ni/coolstream
Commit: 06fa3f2488
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)



------------------
This commit was generated by Migit
2017-02-07 17:12:25 +01:00
Thilo Graf
53f75282ce Forms/header/clock: implement slot into OnBeforeRePaint
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1c217b404f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-02 (Thu, 02 Feb 2017)


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

------------------
This commit was generated by Migit
2017-02-02 11:18:27 +01:00
Thilo Graf
7550c7276c 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
------------------
Branch: ni/coolstream
Commit: 5c8aa90e01
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)



------------------
This commit was generated by Migit
2017-01-31 16:36:41 +01:00
Thilo Graf
9adf5ba509 CComponentsForm: add parameters to setSelectedItem() methode
Were not passed to items


Origin commit data
------------------
Branch: ni/coolstream
Commit: 375451f0a6
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-30 (Fri, 30 Sep 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:25 +02:00
Thilo Graf
36d8d81fa6 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
------------------
Branch: ni/coolstream
Commit: dde298b1b7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-04 (Mon, 04 Apr 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:24 +02:00
vanhofen
5987637998 colors: add COL_FRAME wrapper
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper

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

------------------
This commit was generated by Migit
2016-10-10 14:19:54 +02:00
vanhofen
9ed55c28e3 ccomponents: use COL_SHADOW for shadows
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1f60557e0b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)

Origin message was:
------------------
- ccomponents: use COL_SHADOW for shadows

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

------------------
This commit was generated by Migit
2016-08-16 08:37:54 +02:00
Thilo Graf
3e303e67fa CComponentsForm: add return value to addCCItem()
return value = current id of added item


Origin commit data
------------------
Branch: ni/coolstream
Commit: 888c575ef4
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-01 (Tue, 01 Dec 2015)



------------------
This commit was generated by Migit
2015-12-28 17:58:46 +01:00
Thilo Graf
9e3882b7bc 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
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2015-12-27 14:42:27 +01:00
Jacek Jendrzej
9a426f468e some enum warrnings compil fixes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 051fb7c008
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-02-15 (Sun, 15 Feb 2015)


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

------------------
This commit was generated by Migit
2015-02-15 22:16:47 +01:00
Thilo Graf
5682b24535 CComponentsForm/CComponentsWindow: add page scroll handling
This provides page scroll with up/down, left/right or combined.
Usage of exec() methods with implemented signals allows a
generic implematation of button or other message handling with
signal/slot solutions.

still to do: page cache


Origin commit data
------------------
Branch: ni/coolstream
Commit: 88ce62ea84
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-07 (Sun, 07 Sep 2014)



------------------
This commit was generated by Migit
2014-09-25 11:02:55 +04:00
Thilo Graf
9b4f55abc0 CComponentsForm: add member to get pointer to selected items
Origin commit data
------------------
Branch: ni/coolstream
Commit: e1b9f0a184
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-26 (Tue, 26 Aug 2014)


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

------------------
This commit was generated by Migit
2014-09-25 11:02:17 +04:00
Thilo Graf
aaa4e061d4 CComponentsForm: avoid segfault, if id is out of range
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0ab881b338
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-26 (Tue, 26 Aug 2014)


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

------------------
This commit was generated by Migit
2014-09-25 11:02:13 +04:00
Thilo Graf
9961798df3 CComponentsForm: add members to set or get selected items
Origin commit data
------------------
Branch: ni/coolstream
Commit: ec7d5772f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-25 (Mon, 25 Aug 2014)


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

------------------
This commit was generated by Migit
2014-09-25 11:01:54 +04:00
Thilo Graf
060a36dd6b CComponents: implement scroll functionality into CComponentsForm
CComponentsForm provides page scroll if found more
than one pre defined page and is working with all derivated sub classes from CComponentsForm .

Pages are defined with setPageNumber(0...n) in items (1st page = 0). The item page number property is
defined in variable cc_page_number. The highest page number sets the
count of pages inside container to required value. Thats compellingly!

To show a page, we can use setCurrentPage(0...n ) and paintCurPage() or use directly paintPage(0...n).
Note: global paint() will show the current page. Default page is 0 (as first).
Use setCurrentPage(0...n) to change this before first call of paint().
Note: In CComponentsWindow class, these methods are applied to window body.

For examples, take a look into CTestMenu


Origin commit data
------------------
Branch: ni/coolstream
Commit: 672757606c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-26 (Thu, 26 Jun 2014)



------------------
This commit was generated by Migit
2014-06-27 20:49:41 +02:00
Thilo Graf
55b76b69ba CComponentsForm: add functions to get first and last item
Origin commit data
------------------
Branch: ni/coolstream
Commit: c2bc275d5d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-24 (Tue, 24 Jun 2014)


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

------------------
This commit was generated by Migit
2014-06-27 20:38:59 +02:00
Thilo Graf
e73e411479 CComponentsForm: add comment
Origin commit data
------------------
Branch: ni/coolstream
Commit: eee10df7bb
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-22 (Sun, 22 Jun 2014)


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

------------------
This commit was generated by Migit
2014-06-23 18:43:47 +02:00
Thilo Graf
fabc259990 CComponentsForm: add methode killCCItems()
This methode is an equivalent version of CComponentsItem::kill() and
allows to erase all items inside of a container at once.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 581b9c7701
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-05 (Thu, 05 Jun 2014)



------------------
This commit was generated by Migit
2014-06-23 18:43:47 +02:00
Thilo Graf
7c70aaa6df 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
------------------
Branch: ni/coolstream
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)



------------------
This commit was generated by Migit
2014-03-03 09:43:39 +01:00
Thilo Graf
b500fbec92 CComponentsForm, CSignalBar: rename offset vars
Origin commit data
------------------
Branch: ni/coolstream
Commit: c2c79060b8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-06 (Thu, 06 Feb 2014)


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

------------------
This commit was generated by Migit
2014-02-13 16:26:16 +01:00
Thilo Graf
b482feaeb7 CComponentsForm: add members to get count of items
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2191fded38
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-08 (Wed, 08 Jan 2014)


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

------------------
This commit was generated by Migit
2014-01-08 08:42:16 +01:00
Thilo Graf
36e40e2a67 CComponents: replace clear() with clearFbData(), remove cleanCCForm()
clear() replaces now clearCCItems() and cleanCCForm() is superfluous.


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



------------------
This commit was generated by Migit
2014-01-07 09:41:06 +01:00
Thilo Graf
aa65694193 CComponents: split some header files
Should bring more overview and less susceptibility to conflicts (merge etc)

License texts updated.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 04574fc6eb
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-06 (Mon, 06 Jan 2014)



------------------
This commit was generated by Migit
2014-01-06 22:27:59 +01:00
Thilo Graf
5baba20b2f CComponentsForm: update license text
Origin commit data
------------------
Branch: ni/coolstream
Commit: d2991b49c8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-06 (Mon, 06 Jan 2014)


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

------------------
This commit was generated by Migit
2014-01-06 14:47:13 +01:00
Thilo Graf
2d2c83fd5d CComponentsExtTextForm: use inherited class for localized version
Removed simple constructor and used default values in constructor has same
effect, this reduces some code parts. Usage is unchanged.


Origin commit data
------------------
Branch: ni/coolstream
Commit: a08a418d88
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-06 (Mon, 06 Jan 2014)



------------------
This commit was generated by Migit
2014-01-06 14:47:12 +01:00
Thilo Graf
ffda81deb2 CComponentsForm: use passed by reference in addCCItem()
Function parameter 'cc_Items' should be passed by reference (performance).


Origin commit data
------------------
Branch: ni/coolstream
Commit: abe1de16b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-24 (Tue, 24 Dec 2013)



------------------
This commit was generated by Migit
2013-12-25 19:50:31 +01:00
Thilo Graf
1d8ac9a502 CComponents: add new class CComponentsFrmChain
CComponentsFrmChain provides a form for chained cc-items with
optional dynamic arrangement or direction parameters


Origin commit data
------------------
Branch: ni/coolstream
Commit: eb16ea3ac6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-23 (Mon, 23 Dec 2013)



------------------
This commit was generated by Migit
2013-12-23 23:55:43 +01:00
Michael Liebmann
7703fd2a30 CComponentsHeader: Fix height calculation
Origin commit data
------------------
Branch: ni/coolstream
Commit: c2c5b931cd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)


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

------------------
This commit was generated by Migit
2013-12-11 15:55:14 +01:00
[CST] Focus
4d6562d45e components: remove initVarHeader calls in classes derived from CComponentsHeader
Origin commit data
------------------
Branch: ni/coolstream
Commit: 90c76a2985
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)

Origin message was:
------------------
components: remove initVarHeader calls in classes derived from CComponentsHeader

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

------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
[CST] Focus
5d06d7384f components: remove initVarForm calls in classes derived from CComponentsForm
Origin commit data
------------------
Branch: ni/coolstream
Commit: 062b10be2a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)


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

------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
Thilo Graf
d2f4c08767 CComponentsWindow: add missing member paint()
This is a partial revert of f57ccb8d5a


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0ae3d34ceb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-17 (Sun, 17 Nov 2013)



------------------
This commit was generated by Migit
2013-11-17 20:53:45 +01:00
Thilo Graf
83bc12887a CComponentsExtTextForm: fix assign of width with percent value
Assigning of value before width was set, had no effect


Origin commit data
------------------
Branch: ni/coolstream
Commit: 74d25a6089
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)



------------------
This commit was generated by Migit
2013-11-11 00:19:48 +01:00
Thilo Graf
f57ccb8d5a CComponentsWindow: remove paint() member
The derived member of ComponentsForm() should be sufficiently
and should serve its purpose.


Origin commit data
------------------
Branch: ni/coolstream
Commit: cbeb9f3ac6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)



------------------
This commit was generated by Migit
2013-11-11 00:19:48 +01:00
Thilo Graf
fabdec0fa3 CComponentsExtTextForm: add member setLabelAndTextFont()
Origin commit data
------------------
Branch: ni/coolstream
Commit: a0e00387b6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-07 (Thu, 07 Nov 2013)


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

------------------
This commit was generated by Migit
2013-11-11 00:19:47 +01:00
Thilo Graf
df7394dcf6 CComponentsExtTextForm: add new class CComponentsExtTextForm
this provides a combining form, that contains a text object with label


Origin commit data
------------------
Branch: ni/coolstream
Commit: d8514b19ee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-01 (Fri, 01 Nov 2013)



------------------
This commit was generated by Migit
2013-11-11 00:19:46 +01:00
Thilo Graf
f47146c6ea revert e813d9f32b
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6dd1da0628
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-25 (Fri, 25 Oct 2013)



------------------
This commit was generated by Migit
2013-10-26 23:25:59 +02:00
Thilo Graf
e813d9f32b CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6ee7fac1a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)



------------------
This commit was generated by Migit
2013-10-24 21:39:04 +02:00