Thilo Graf
c1f70dbbb8
CComponentsWindow, CMenuWidget: apply gradiant settings to header
2014-09-25 11:07:28 +04:00
M. Liebmann
bfc1c04d83
CComponentsHeader: Use color gradient for paint header
...
Conflicts:
src/gui/widget/menue.cpp
2014-09-25 11:07:12 +04:00
M. Liebmann
db6fd8480d
CComponents: Add color gradient for CC_FBDATA_TYPE_BOX
2014-09-25 11:06:01 +04:00
M. Liebmann
4c2704fb2f
CComponentsForm: Fix compiler warning (-Wsign-compare)
2014-09-25 11:05:18 +04:00
M. Liebmann
d25fe1438c
Change CComponents::clearSavedScreen() from protected to public
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
Conflicts:
src/gui/components/cc_base.h
2014-09-25 11:03:34 +04:00
Thilo Graf
cfd1510a5c
CComponentsTimer: add mutex handling, use neutrino log
2014-09-25 11:03:03 +04:00
Thilo Graf
88ce62ea84
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
2014-09-25 11:02:55 +04:00
Thilo Graf
4e5df866bd
CComponentsSignals: add signals for exec handlers
2014-09-25 11:02:51 +04:00
Thilo Graf
ec132906cd
cc_types: add truct type for rc messages with related icon
2014-09-25 11:02:45 +04:00
Thilo Graf
0c0e0e85ff
CComponentsItem/CComponentsForm: add property focus
...
Specifies that some certain operations especially eg. exec events for
that item are possible.
2014-09-25 11:02:32 +04:00
Thilo Graf
5ae495716e
CComponentsFooter: expand button label structs
...
Allows assigning of result, msg and alias values with label struct.
NOTE: Old button label struct are compatible but limited only and
not recommended for usage!
Old parameters 'struct button_label' doesn't provide newer parameters.
Missing parameters are filled with default values and must be assigned
afterward, if required.
2014-09-25 11:02:27 +04:00
Thilo Graf
706ed0f31f
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.
2014-09-25 11:02:22 +04:00
Thilo Graf
e1b9f0a184
CComponentsForm: add member to get pointer to selected items
2014-09-25 11:02:17 +04:00
Thilo Graf
0ab881b338
CComponentsForm: avoid segfault, if id is out of range
2014-09-25 11:02:13 +04:00
Thilo Graf
67a42c3e96
CComponents: add members to handle object tags
...
This can help to handle some useful values for any functions
2014-09-25 11:02:00 +04:00
Thilo Graf
ec7d5772f0
CComponentsForm: add members to set or get selected items
2014-09-25 11:01:54 +04:00
Thilo Graf
cc5b17a620
CComponentsFooter: add members to set or get select a defined button
2014-09-25 11:01:49 +04:00
Thilo Graf
1a38c23340
CComponentsSignals: ad signal OnSelect
2014-09-25 11:01:45 +04:00
Thilo Graf
9f902af587
CComponentsFooter: add member to add button labels via vector
2014-09-25 11:01:39 +04:00
Thilo Graf
6ed7df9498
CComponentsSignals: add signal OnError
2014-09-25 10:58:30 +04:00
Thilo Graf
4731521070
CComponents: add new header file cc_signals.h with some basic members
2014-09-25 10:58:22 +04:00
Thilo Graf
221bb9be33
CComponentsShape/CComponentsShapeCircle: don't use CC_SHADOW_ON as default
...
It has been shown, most shapes don't require any shadow.
2014-09-14 00:01:07 +02:00
Thilo Graf
6842dc530a
CComponentsText: fix missing refresh of text mode
...
assign of text mode was without any effect
2014-09-14 00:01:04 +02:00
martii
b21cb152b5
system/settings: move theme colors to dedicated struct
...
Conflicts:
src/driver/pictureviewer/pictureviewer.cpp
src/gui/epgview.cpp
src/gui/osd_setup.cpp
src/gui/pluginlist.cpp
src/neutrino.cpp
2014-09-12 18:29:21 +04:00
martii
84cf3865b5
gui/components/cc_frm_clock.cpp: add method to enable/disable auto-blit()
...
Conflicts:
src/gui/components/cc_frm_clock.cpp
2014-09-11 18:12:51 +04:00
martii
1c39a6edf4
[experimental] gui/components/cc_frm_clock: use a mutex around unsetting/evaluating paintClock. This may or may not help with the clock-still-showing-when-leaving-the-channellist problem. Pretty much untested, as that issue is quite irreproducible.
2014-09-11 18:12:51 +04:00
martii
13118c1148
gui/components/cc_frm_clock: simplify; setClockFormat/setClockBlink has now impact on running thread
...
Conflicts:
src/gui/components/cc_frm_clock.cpp
src/gui/timeosd.cpp
2014-09-11 18:12:51 +04:00
martii
9472155b88
gui/components/cc_frm_clock: disable thread idle timeout; clear clock when thread exits
2014-09-11 18:12:51 +04:00
martii
be29f644f0
gui/components: use COL_BACKGROUND_PLUS_0 instead of COL_BACKGROUND
2014-09-11 18:12:51 +04:00
[CST] Focus
a473fe8194
webtv channels integration port,
...
initial code (C) martii,
initial patch from jacek
2014-08-27 17:32:26 +04:00
Thilo Graf
4e65078335
CComponentsWindow: add missing comment for allignment options
2014-08-26 17:27:30 +04:00
Thilo Graf
62acbb47ab
CComponentsItem: fix percentage dimensions setters
...
heigth and width were swapped, parameter "real" was false
2014-07-18 13:31:29 +04:00
Thilo Graf
556b2cccb2
CComponentsHeader: add methode getCaptionFont()
2014-07-18 13:31:22 +04:00
[CST] Focus
75f7ac1235
gui/components/cc_base.cpp: try to fix screen save for CComponentsDetailLine
2014-07-17 17:02:51 +04:00
[CST] Focus
416646bbff
merge neutrino-mp progressbar code, (C) martii
2014-07-17 17:02:37 +04:00
M. Liebmann
a182fca81f
CComponentsPicture: Add parameter 'transparent'...
...
...to set the transparency of pictures
- Set default transparency for CComponentsChannelLogo to
CFrameBuffer::TM_BLACK
(Transparency when black content -> 'pseudo' transparency)
- Set default transparency for CComponentsPicture to
CFrameBuffer::TM_NONE (No 'pseudo' transparency)
2014-07-10 16:38:09 +02:00
M. Liebmann
3d805054f4
CComponentsChannelLogo: disable paint of logo background, it's not required here
...
- Fix calculation of logo width & height
2014-06-29 13:25:32 +02: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
Thilo Graf
e6f6931b72
CComponentsPicture: use current instance of CPictureViewer
...
reduce precautionary too much unnecessary impact
2014-06-27 20:38:59 +02:00
Thilo Graf
c2bc275d5d
CComponentsForm: add functions to get first and last item
2014-06-27 20:38:59 +02:00
Thilo Graf
67ab4addeb
CComponentsWindow: add missing comment for sidebars
2014-06-23 18:43:47 +02:00
Thilo Graf
dce25e94b3
CComponentsForm: don't consider frame for position calculation
...
This should be done in the arrangement of the container contents
2014-06-23 18:43:47 +02:00
Thilo Graf
eee10df7bb
CComponentsForm: add comment
2014-06-23 18:43:47 +02:00
Thilo Graf
2aff49deea
CComponentsItem: remove unnecessary calculation of position with frame
...
This should be done in the arrangement of the container contents
2014-06-23 18:43:47 +02:00
Thilo Graf
5eb63b9515
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
Thilo Graf
8bbd7024d9
CComponents: epand method setFrameThickness() to change selected frame
2014-06-23 18:43:47 +02:00
Thilo Graf
33202059cc
CComponentsText: add function to get current text content from object
2014-06-23 18:43:47 +02:00
Thilo Graf
581b9c7701
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.
2014-06-23 18:43:47 +02:00
Thilo Graf
f21c119517
CComponentsWindow: add possibilty to add sidebars in window objects
...
This allows to add objects in to window on left or right site. eg. for
navigation icons or other similar stuff. Default this feature is disabled.
to enable with methode enableSidebar(TYPE); With parameter
CC_WINDOW_LEFT_SIDEBAR, CC_WINDOW_RIGHT_SIDEBAR or both.
Width of sidebar can be changed with methode setWidthSidebar(int)
2014-06-23 18:43:47 +02:00
Thilo Graf
53cf57876c
CComponents: inherit COSDFader class
...
Allows a simplified implementation without prior declaration and
initialisation
2014-06-23 18:43:47 +02:00