Commit Graph

29 Commits

Author SHA1 Message Date
vanhofen
619342d89d add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines


Origin commit data
------------------
Commit: 6d58a3b1c9
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-20 (Wed, 20 Sep 2017)

Origin message was:
------------------
- add and use FRAME_WIDTH defines; ...

replace other fixed frame widths with OFFSET defines
2017-09-20 13:46:31 +02:00
Thilo Graf
630c1bb880 CComponentsScrollBar: try to fix handling with very much segment count
In some cases, eg. with very much pages in channellist, the effort
to handle with all count of scrollbar segments was too much. Result: long
waiting times during page scrolling and slider was not visible. This
should be fixed now.


Origin commit data
------------------
Commit: 71f5779a40
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-11 (Fri, 11 Aug 2017)
2017-08-11 22:35:07 +02:00
Thilo Graf
f23adc7007 CComponentsScrollBar: use matching type names
Origin commit data
------------------
Commit: b863f874b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-09 (Wed, 09 Aug 2017)
2017-08-09 21:36:26 +02:00
Thilo Graf
9481b6cdc5 CComponentsScrollBar: fix possible too small type size
Possible segment count could be more than 265.
Was a remnant from scrollbar test phase.


Origin commit data
------------------
Commit: 379d1ffa76
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-09 (Wed, 09 Aug 2017)
2017-08-09 19:13:36 +02:00
Thilo Graf
0f3b5e5eaf CComponentsScrollBar: overwrite default corner type
Rounded corners are in mostly cases not required, because of
possible pixel errors if scrollbars are used as embedded standalone part and is
generated with external method paintScrollBar().


Origin commit data
------------------
Commit: cdf0123bea
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-30 (Tue, 30 May 2017)
2017-06-20 12:17:47 +02:00
vanhofen
c046b54c11 cc_frm_scrollbar: add getScrollBarData() function ...
to calculate total pages and current page for CComponentsScrollBar

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 3e9e73cb3c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)

Origin message was:
------------------
- cc_frm_scrollbar: add getScrollBarData() function ...

to calculate total pages and current page for CComponentsScrollBar

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-15 01:01:55 +02:00
Thilo Graf
82ff77ede5 CComponentsScrollBar: add missing attributes for different visual modes
Origin commit data
------------------
Commit: 324ba258a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-21 (Fri, 21 Apr 2017)
2017-04-21 22:47:23 +02:00
Thilo Graf
8f5e8cb5ff CComponentsScrollBar: fix radius for single segment
Radius on top was missed if only one segment is available.


Origin commit data
------------------
Commit: c5451046d4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-21 (Fri, 21 Apr 2017)
2017-04-21 22:47:23 +02:00
Thilo Graf
fe9a6338b1 CComponentsScrollBar: remove unnecessary debug output
Origin commit data
------------------
Commit: 803253e3d4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-22 (Wed, 22 Feb 2017)
2017-02-25 00:01:29 +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
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
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
Thilo Graf
c049ef1038 CComponentsScrollBar: use corner settings for scrollbar body
Origin commit data
------------------
Commit: 1d541834b1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)
2016-12-15 16:53:32 +01:00
Thilo Graf
d8878ea74a CComponentsScrollBar: add easy to handle scrollbar methode
Origin commit data
------------------
Commit: 728b95ac1c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)
2016-12-15 16:53:25 +01:00
vanhofen
8f55c83ce0 rename BUTTON_TOP to BUTTON_UP; it isn't a top-button
Origin commit data
------------------
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
2016-12-07 15:37:03 +01:00
Thilo Graf
57786208c5 Merge branch 'master' into pu/msgbox
Origin commit data
------------------
Commit: ab9bf2ffa6
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-02 (Wed, 02 Nov 2016)
2016-11-02 21:05:36 +01:00
Jacek Jendrzej
4a56be854e fix possible segfault and negative height
Origin commit data
------------------
Commit: b8849d53b5
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-10-31 (Mon, 31 Oct 2016)
2016-10-31 15:53:29 +01: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
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
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
Jacek Jendrzej
1486711d16 some never read compil warning fixes
Origin commit data
------------------
Commit: 0d9fbd5378
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-24 (Sun, 24 Apr 2016)
2016-04-24 17:18:37 +02:00
Thilo Graf
7d29ddbafc CComponentsScrollBar: fix missed navi arrows
Paths were broken
comes in with 9c85004d31


Origin commit data
------------------
Commit: c07f999476
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-03-17 (Thu, 17 Mar 2016)
2016-03-17 10:49:35 +01:00
Jacek Jendrzej
9c85004d31 cc_frm_scrollbar.cpp icon dont need full path
Origin commit data
------------------
Commit: 10c430d40e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
2016-02-16 16:15:28 +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
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
d645f6326c CComponentsScrollBar: add color gradient to scrollbar
Origin commit data
------------------
Commit: d6bf51a593
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:08:12 +04:00
Thilo Graf
3224594375 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
------------------
Commit: 672757606c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-26 (Thu, 26 Jun 2014)
2014-06-27 20:49:41 +02:00