Thilo Graf
eb16ea3ac6
CComponents: add new class CComponentsFrmChain
...
CComponentsFrmChain provides a form for chained cc-items with
optional dynamic arrangement or direction parameters
2013-12-23 23:55:43 +01:00
Thilo Graf
28e344d600
CComponents: add new class CComponentsSlider()
...
Provides a slider item
2013-12-23 23:55:43 +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
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
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
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
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
a8721fa72a
CComponentsForm: add new member genIndex()
2013-06-23 22:54:30 +02:00
Thilo Graf
c66c778326
CComponentsForm: fix position of replaced item
...
If cc-item is bound on a parent form, it's not enough
to replace the item object only, also properties like
parent and index must be moved to new item to ensure that positions are calculated correctly.
But it's matter for unbound cc-items.
2013-06-23 20:34:19 +02:00
Thilo Graf
f14141d49c
CComponents: add new member getFrameThickness()
2013-06-16 00:34:05 +02:00
Thilo Graf
17a2bd59d1
CComponents: add members setRealXPos() and setRealYPos()
2013-06-16 00:34:03 +02:00
Thilo Graf
fc3829d695
CTestMenu: add sample code for footer buttons, disable debug spam
2013-06-03 22:12:49 +02:00
Thilo Graf
3c5f4867fb
CComponents: rename and move real position attributes
...
These attributes are better placed in the basic class.
2013-06-03 22:12:47 +02:00
Thilo Graf
ddaa7a876e
CComponentsForm: add index to items
...
Helpers to identfie added items.
2013-06-03 22:06:30 +02:00
Thilo Graf
1e0df8842e
CComponentsItem: typo fixes
2013-05-28 09:44:10 +02:00
Thilo Graf
6f480c7773
CComponentsItem: corrected comment for arg do_save_bg
2013-05-28 09:21:10 +02:00
Thilo Graf
cfc0c72daa
CComponentsItem: add more comments
2013-05-28 09:10:25 +02:00
Thilo Graf
d39eaa22fc
CComponents: split some header files
...
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture
2013-05-27 09:30:50 +02:00
Thilo Graf
47691515d1
CComponents: add comments for documentations
...
Comments contains doxygen tags.
for results see also: http://www.tuxbox.org/neutrinohd/doc/html/
Help welcome!
2013-05-27 09:22:08 +02:00
Michael Liebmann
612ef514a3
* CComponents::paintFbItems: Fix paint frame
...
- Remove function CComponents::allowPaint()
2013-05-10 11:32:12 +01:00
Thilo Graf
a4c3e08f77
CComponents: rework kill()
...
There was some problems with restore, hide, clean and save background of item parts,
seen in detailsline. kill() worked not really clean.
kill() works now as virtual member and uses paintBackgroundBoxRel().
In consequence of which:
-unnecessary members in subclasses removed.
-add some comments
2013-05-03 19:51:57 +02:00
Thilo Graf
e84ac6f3a1
CComponentsPicture: use members as virtual members
...
Makes members ready for use in subclasses
2013-04-28 16:48:10 +02:00
Thilo Graf
0fe69feb96
CComponents: add members setPos() and getSize()
2013-04-28 16:48:09 +02:00
Thilo Graf
dfc6e2069e
CComponentsText: paint text only on text change, add members to handle this
...
It can be usefull to hold unchanged text to avoid unnecessary text
paintings. It's also also possible to force paint of text,
use forceTextPaint(). Use textChanged(), to evaluate current text changes.
2013-04-27 22:20:10 +02:00
Michael Liebmann
eafcbf6a86
* CComponentsLabel: Use 'std::string' instead of 'const char*' for ct_text
...
- Supplement to commit 3a19edd...
2013-04-25 09:34:53 +01:00
Thilo Graf
cc63773920
CComponentsText: add bool as return value for setTextFromFile()
2013-04-24 19:56:00 +02:00
Thilo Graf
ca9d7add48
CComponentsText: use member function 'ToString' as static
2013-04-24 19:48:39 +02:00
Thilo Graf
cdfc544809
CComponentsText: add member to use file as text source
2013-04-24 19:48:39 +02:00
Michael Liebmann
3a19edda45
* CComponentsText: Use 'std::string' instead of 'const char*' for ct_text
2013-04-22 15:41:03 +01:00
Thilo Graf
8813dccc7e
CComonents: disable debug spam
2013-04-16 11:40:01 +02:00
Thilo Graf
894d229b09
CComponents: add vars to modifie frames in selected mode
2013-04-16 08:32:42 +02:00
Thilo Graf
336c3bc7a1
CComponentsItem: add members to set pointer for parent object
...
Pointer is typically of type CComponentsForm or derived classes,
default intialized with NULL and serves to access for
properties of parent object by embedded items.
2013-04-16 08:26:56 +02:00
Thilo Graf
4317b0b4fb
CComponents: add own header file for unused experimental classes
2013-04-16 08:26:56 +02:00
Thilo Graf
39a4e3400e
CComponentsForm: add own header for form classes
2013-04-16 08:26:56 +02:00
Thilo Graf
d7c35b07e4
CComonents: use allowPaint() as private, parameter as by rev
...
not used in sub classes
2013-04-16 08:26:56 +02:00
Thilo Graf
4f623b822f
CComponentsItem: add properties for stats enabled/selected
2013-04-16 08:26:56 +02:00
Thilo Graf
9420edd932
CComponentsItem: add members to get real item position
2013-04-16 08:26:55 +02:00
Thilo Graf
fb64fb5d35
CComponentsText: add overloaded member setText() for int vars
2013-04-16 08:26:55 +02:00
Thilo Graf
62efe2cb59
CComponentsItem/Form: add var for real item position
...
If items are used in forms it can be usefully to have a variable
which contains the real position on screen.
This can happen e.g. if an item contains separate render methods, because within forms
usual x/y values related to form dimensions and be converted.
2013-04-16 08:26:54 +02:00
Thilo Graf
546b04b846
CComponentsText: add helper to convert integer to string
2013-04-16 08:26:54 +02:00
Jacek Jendrzej
d18217effb
CComponents: don't paint the same box with different colors as background
2013-04-04 12:19:31 +02:00
Thilo Graf
3a4543b8d2
CComponentsText: add member to control background paint on textbox objects
2013-04-04 09:56:53 +02:00
Thilo Graf
bdbea07e71
CComponents: disable debug spam
2013-04-04 09:56:52 +02:00
Thilo Graf
860be9a412
CComponents: add progressbar class to cc-items
...
CProgressbar moved into components sub directory and adapt includes.
Progressbar objects are now usable as cc-item
TODO:
-some color and size corrections
-found some dub codes for sig and snr-bars, needs rework
2013-04-02 09:31:05 +02:00
Thilo Graf
d391bedd5f
CComponents: move item type enum to cc_types.h
2013-04-02 09:31:05 +02:00
Thilo Graf
c99e23289b
CComponentsLabel: add missing item type
2013-03-24 21:14:11 +01:00
Thilo Graf
cc31a41f43
CComponentsWindow/Header: fix add of header buttons
...
setHeaderButtons was without effect
2013-03-24 21:14:10 +01:00
Thilo Graf
8196cf7671
CComponentsPIP: paint alternate picture if no tv mode
...
Use setPicture() to change image on runtime.
2013-03-24 21:14:10 +01:00