Thilo Graf
8ae491a994
CComponents: add property to allow/disallow paint of items
...
This causes initialization of all properties, but
affects the behavior of item paint.
This can be understood as a counterpart to isPainted().
2013-11-11 00:19:48 +01:00
Thilo Graf
a0e00387b6
CComponentsExtTextForm: add member setLabelAndTextFont()
2013-11-11 00:19:47 +01:00
Thilo Graf
989ec25360
CComponentsButton: add constructors with loacalized caption parameter
2013-11-11 00:19:47 +01:00
Thilo Graf
72705b19de
CComponents: use correct initial values screen start position
...
Value '0' is wrong.
2013-11-11 00:19:47 +01:00
Thilo Graf
ffe50db001
CComponentsLabel: use correct body color
2013-11-11 00:19:46 +01:00
Thilo Graf
d8514b19ee
CComponentsExtTextForm: add new class CComponentsExtTextForm
...
this provides a combining form, that contains a text object with label
2013-11-11 00:19:46 +01:00
Thilo Graf
4ed6e54da6
CComponentsItem: add missing is_painted to hideCCItem()
2013-11-11 00:19:46 +01:00
Thilo Graf
5fb7959ddb
CComponentsLabel: remove alternate constructor
...
default parameters can also be used
2013-11-11 00:19:45 +01:00
Stefan Seyfried
c82bfbaec2
fix format string warnings
2013-11-10 19:48:58 +01:00
Stefan Seyfried
b93a372b54
Merge branch 'check/next-cc'
...
Compiles on most platforms, starts. Not really tested.
2013-11-10 16:55:53 +01:00
Thilo Graf
6dd1da0628
revert 6ee7fac1a5
...
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget
2013-10-26 23:25:59 +02:00
Thilo Graf
6ee7fac1a5
CComponents: rename hide() to hideCC()
...
There are too many name conflicts with hide-members in other classes.
2013-10-24 21:39:04 +02:00
Thilo Graf
f7798affc6
CComponents: add unfied header file for general include of cc classes
...
Provides a unified header file, so it is not required to select a
certain header file.
2013-10-24 21:19:07 +02:00
Michael Liebmann
ad630c5acb
CComponentsText: Add function getTextLinesAutoHeight()
...
- Function is used for determine the number of lines
in a text box in AUTO_HIGH mode.
Signed-off-by: Thilo Graf <dbt@novatux.de >
2013-10-24 21:19:07 +02:00
Thilo Graf
64c6eb5945
CComponentsHeader: add possibility to modify text alignment
...
usable in header and its derived classes and in class CComponentsWindow
2013-10-24 21:19:07 +02:00
Thilo Graf
ad102b69fd
CComponentsHeader: use isAdded() to avoid add multiple items
2013-10-24 21:19:06 +02:00
Thilo Graf
5323e92a6f
CComponentsWindow: add member showHeader()
...
Provides show or hide window header
2013-10-24 21:19:06 +02:00
Thilo Graf
e613971c0d
CComponentsText: add member to get text color
2013-10-24 21:19:06 +02:00
Thilo Graf
1b0d4fdd05
CComponentsHeader: add member to get header text
2013-10-24 21:19:05 +02:00
Stefan Seyfried
d244a5991a
Merge branch 'check/next-cc'
...
Compiles on most platforms, starts. Not really tested.
Conflicts:
acinclude.m4
lib/libdvbsub/Makefile.am
lib/libtriple/Makefile.am
lib/libtuxtxt/Makefile.am
src/Makefile.am
src/create_rcsim_h.sh
src/daemonc/Makefile.am
src/driver/Makefile.am
src/driver/audiodec/Makefile.am
src/driver/pictureviewer/Makefile.am
src/eitd/Makefile.am
src/gui/Makefile.am
src/gui/bouquetlist.cpp
src/gui/channellist.cpp
src/gui/scan_setup.cpp
src/gui/streaminfo2.cpp
src/gui/streaminfo2.h
src/gui/update.cpp
src/gui/widget/Makefile.am
src/gui/widget/listbox.cpp
src/neutrino.cpp
src/nhttpd/tuxboxapi/coolstream/Makefile.am
src/rcsim.c
src/system/Makefile.am
src/zapit/src/Makefile.am
src/zapit/src/frontend.cpp
src/zapit/src/zapit.cpp
2013-10-21 22:58:55 +02:00
Michael Liebmann
b3559e37f8
CComponentsItem: Remove parameter from function isAdded()
2013-10-21 09:32:15 +02:00
Thilo Graf
3438b23f68
CComponentsItem: move function isAdded() to CComponentsItem class
2013-10-19 01:25:23 +02:00
Thilo Graf
a1e5a60184
CComponentsText: use separated function to get text fro a file
2013-10-19 01:25:22 +02:00
Michael Liebmann
5091e920fc
Replacing obsolete 'INCLUDES' with 'AM_CPPFLAGS' in all Makefile.am
2013-10-17 04:22:49 +02:00
Thilo Graf
a47091872b
CComponentsButton: involving of button text for dyn font evaluation
2013-10-16 11:54:06 +02:00
Thilo Graf
fb3f18b14a
CComponentsButton: use empty string as default icon in constructors
2013-10-16 11:54:06 +02:00
Thilo Graf
3ff09c88bd
CComponentsForm: add predefine CC_CENTERED for auto positions
...
This saves explicit position calculations to arrange items centered
2013-10-16 11:54:05 +02:00
Thilo Graf
517313cd82
CSignalBar: optimize caption handling
2013-10-16 11:54:05 +02:00
Thilo Graf
c3a3eea0d8
CComponentsButton: use dynamic fonts, remove old font handling
2013-10-16 11:54:04 +02:00
Thilo Graf
72d2639a73
CComponentsFrmClock: prepare members for usage as virtual members
2013-10-09 22:50:58 +02:00
Thilo Graf
70b43dc021
CComponentsFrmClock: fix posible flicker effects
...
Textbox handling was changed since 08e23a917c
2013-10-09 22:50:57 +02:00
Thilo Graf
992cac1a55
CComponentsPicture: add class CComponentsChannelLogo
2013-10-06 17:14:31 +02:00
Thilo Graf
d748680d66
CComponentsFrmClock: use 'localtime_r'
...
Follow general recommendation to use 'localtime_r'
for threadsafe applications.
2013-10-06 08:06:28 +02:00
Thilo Graf
4f69f4f34a
CComponentsPIP: centering alternate backkground image
2013-10-02 10:21:11 +02:00
Thilo Graf
91b8b34a51
CComponentsPIP: fix x position
...
pig_x+2 was wrong.
2013-10-01 10:09:08 +02:00
Thilo Graf
19fa5e6418
CComponentsButton: remove function blocks from header
2013-09-20 08:33:06 +02:00
Thilo Graf
33ec56ad6f
CComponents: remove member setCornerRadius(),
...
setCorner() replaces this function, 2nd parameter sets type
2013-09-19 08:24:40 +02:00
Thilo Graf
c6b9fe432b
CComponents: add member setCorner()
...
This replaces setCornerType() and setCornerRadius() soon
2013-09-19 08:24:40 +02:00
Thilo Graf
be8e47fe3f
CComponentsButton: add localized button
...
So it's possible to use locales for button caption.
2013-09-19 08:24:39 +02:00
Thilo Graf
566698377d
CComponentsWindow: fix fit of footer if using frame
...
Footer has been overpainted frame on bottom.
2013-09-19 08:24:39 +02:00
Thilo Graf
b9f35bfc6d
CComponentsWindow: fix max width of base items, if frame was set
...
Header, body and footer were too wide on the right side.
2013-09-19 08:24:39 +02:00
Thilo Graf
78cdee08a8
CComponentsHeader: add member that allows switching to small size
2013-09-19 08:24:39 +02:00
Thilo Graf
4eb26988e9
CComponentsForm/CComponentsWindow: add new members
...
CComponentsForm: Overload member removeCCItem so we can use
cc_item as parameter.
CComponentsWindow: add member bool showFooter().
This allows to hide a footer in window.
2013-09-19 08:24:38 +02:00
Thilo Graf
f129db9b0c
Signalbars: move sorce files to gui/components
2013-09-19 08:24:38 +02:00
Thilo Graf
d750b8e27b
CComponentsWindow: use members as protected
...
Sub classes need these members.
2013-09-19 08:24:38 +02:00
Stefan Seyfried
32de6beef0
Merge remote-tracking branch 'check/next-cc'
...
needs buildfixing...
Conflicts:
src/eitd/sectionsd.cpp
src/gui/audioplayer.cpp
src/gui/bedit/bouqueteditor_channels.cpp
src/gui/infoclock.cpp
src/gui/infoviewer.cpp
src/gui/motorcontrol.cpp
src/gui/osd_setup.cpp
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/streaminfo2.cpp
src/gui/update.cpp
src/gui/widget/progresswindow.cpp
src/gui/widget/textbox.cpp
src/neutrino.cpp
src/zapit/include/zapit/femanager.h
2013-09-01 19:46:10 +02:00
Thilo Graf
5cb7d66993
CComponentsForm: fix fitting of item on the right and bottom edges
...
Frame of form was overpainted by item,
small whitespace fixes
2013-08-30 22:14:35 +02:00
Thilo Graf
eee3b5d78e
CProgressBar: remove comment
2013-08-30 22:14:35 +02:00
Thilo Graf
5a224dfbb2
CProgressBar: declare paintShapes() static, whitespace fixes
...
Technically the member function 'CProgressBar::paintShapes' can be static.
2013-08-30 22:14:34 +02:00
Thilo Graf
aca06a5c02
CComponentsShapeCircle: getDiam() become const
...
Technically the member function 'CComponentsShapeCircle::getDiam'
can be const (style)
2013-08-30 22:14:34 +02:00