Commit Graph

21 Commits

Author SHA1 Message Date
Thilo Graf
803253e3d4 CComponentsScrollBar: remove unnecessary debug output 2017-02-25 00:01:29 +01:00
svenhoefer
52ad1f76c2 - cc_frm_scrollbar: use SCROLLBAR_WIDTH define 2016-12-20 10:26:59 +01:00
svenhoefer
38c621ad5e - cc_frm_scrollbar: fix offsets; use OFFSET defines 2016-12-16 09:03:07 +01:00
Thilo Graf
6dda28d612 CComponentsScrollBar: fix pos and use current width to set height of arrows
This fix size and position and dimensions of arrows.
2016-12-15 21:56:41 +01:00
Thilo Graf
1d541834b1 CComponentsScrollBar: use corner settings for scrollbar body 2016-12-15 16:53:32 +01:00
Thilo Graf
728b95ac1c CComponentsScrollBar: add easy to handle scrollbar methode 2016-12-15 16:53:25 +01:00
svenhoefer
0dc0789de8 - rename BUTTON_TOP to BUTTON_UP; it isn't a top-button 2016-12-07 15:37:03 +01:00
Thilo Graf
ab9bf2ffa6 Merge branch 'master' into pu/msgbox 2016-11-02 21:05:36 +01:00
Jacek Jendrzej
b8849d53b5 fix possible segfault and negative height 2016-10-31 15:53:29 +01:00
Thilo Graf
3477e28cd7 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.
2016-10-24 10:31:25 +02:00
Thilo Graf
422f5872e4 CComponentsScrollBar: disable scrollbar color gradient
Was for testing only, now usual properties used.
2016-10-12 10:08:18 +02:00
Thilo Graf
7b334f8883 CComponentsScrollBar: fix trasnparent background arrow icons
parameter was disabled
2016-10-12 09:42:46 +02:00
vanhofen
6629b64d6c - colors: add COL_SCROLLBAR_PASSIVE wrapper 2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1 - colors: add COL_SCROLLBAR_ACTIVE wrapper 2016-10-10 14:19:54 +02:00
Jacek Jendrzej
0d9fbd5378 some never read compil warning fixes 2016-04-24 17:18:37 +02:00
Thilo Graf
c07f999476 CComponentsScrollBar: fix missed navi arrows
Paths were broken
comes in with 10c430d40e
2016-03-17 10:49:35 +01:00
Jacek Jendrzej
10c430d40e cc_frm_scrollbar.cpp icon dont need full path 2016-02-16 16:15:28 +01:00
Thilo Graf
0146511f38 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
svenhoefer
e85f32848c - ccomponents: add missing slash to iconBasePath 2015-05-07 11:10:28 +02:00
Thilo Graf
d6bf51a593 CComponentsScrollBar: add color gradient to scrollbar 2014-09-25 11:08:12 +04:00
Thilo Graf
672757606c 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
2014-06-27 20:49:41 +02:00