Commit Graph

157 Commits

Author SHA1 Message Date
Thilo Graf
22c5bd5db2 CComponentsItem: prevent possible compile error
Origin commit data
------------------
Commit: df0a454efe
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-16 (Tue, 16 Apr 2013)
2013-04-16 11:56:27 +02:00
Thilo Graf
7704f0de8c CComonents: disable debug spam
Origin commit data
------------------
Commit: 8813dccc7e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-16 (Tue, 16 Apr 2013)
2013-04-16 11:40:01 +02:00
Thilo Graf
a34b353f06 CComponents: add vars to modifie frames in selected mode
Origin commit data
------------------
Commit: 894d229b09
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-16 (Tue, 16 Apr 2013)
2013-04-16 08:32:42 +02:00
Thilo Graf
a034567d97 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.


Origin commit data
------------------
Commit: 336c3bc7a1
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-15 (Mon, 15 Apr 2013)
2013-04-16 08:26:56 +02:00
Thilo Graf
4187dcbf8e CComponents: add own header file for unused experimental classes
Origin commit data
------------------
Commit: 4317b0b4fb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-15 (Mon, 15 Apr 2013)
2013-04-16 08:26:56 +02:00
Thilo Graf
36a293b309 CComponentsForm: add own header for form classes
Origin commit data
------------------
Commit: 39a4e3400e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-15 (Mon, 15 Apr 2013)
2013-04-16 08:26:56 +02:00
Thilo Graf
9bec663650 CComonents: use allowPaint() as private, parameter as by rev
not used in sub classes


Origin commit data
------------------
Commit: d7c35b07e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)
2013-04-16 08:26:56 +02:00
Thilo Graf
2e343b322e CComponentsItem: add properties for stats enabled/selected
Origin commit data
------------------
Commit: 4f623b822f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-13 (Sat, 13 Apr 2013)
2013-04-16 08:26:56 +02:00
Thilo Graf
efeecf0c07 CProgressBar: replace x/y position with real position on screen
Important to paint related to screen within form dimensions

btw: small cleanups


Origin commit data
------------------
Commit: f01a9071d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)
2013-04-16 08:26:55 +02:00
Thilo Graf
325a23b058 CComponentsText: add debug output, changes name of arg in iToString()
Origin commit data
------------------
Commit: dc373666e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)
2013-04-16 08:26:55 +02:00
Thilo Graf
8a97c383f9 CComponentsItem: add members to get real item position
Origin commit data
------------------
Commit: 9420edd932
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)
2013-04-16 08:26:55 +02:00
Thilo Graf
e17766ee1e CComponentsPicture: add debug output
Origin commit data
------------------
Commit: 3d35a30ecf
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)
2013-04-16 08:26:55 +02:00
Thilo Graf
be1c95266b CComponentsText: add overloaded member setText() for int vars
Origin commit data
------------------
Commit: fb64fb5d35
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-10 (Wed, 10 Apr 2013)
2013-04-16 08:26:55 +02:00
Thilo Graf
8a4b24c4eb CProgressBar: use already calculated position var for diagonal line
Origin commit data
------------------
Commit: cd1a4c89a8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-08 (Mon, 08 Apr 2013)
2013-04-16 08:26:54 +02:00
Thilo Graf
48237184c8 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.


Origin commit data
------------------
Commit: 62efe2cb59
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-10 (Wed, 10 Apr 2013)
2013-04-16 08:26:54 +02:00
Thilo Graf
dbc9c1e08f CComponentsText: add helper to convert integer to string
Origin commit data
------------------
Commit: 546b04b846
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-10 (Wed, 10 Apr 2013)
2013-04-16 08:26:54 +02:00
Thilo Graf
718644d286 CProgressBar: use correct default colors in constructor
Origin commit data
------------------
Commit: 276fa6273e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-07 (Sun, 07 Apr 2013)
2013-04-07 20:37:54 +02:00
Stefan Seyfried
691b4639b9 cc_frm: fix invalid cast
Origin commit data
------------------
Commit: 8d8ce4c55a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-06 (Sat, 06 Apr 2013)
2013-04-06 22:20:58 +02:00
Thilo Graf
604d4e0f99 CComponentsInfoBox: move statement for check of image name
Ensure empty pic object otherwise it can be retained on exit
of paintPicture(), if an instance of Infobox already exists.

supplement to ab59797ae5


Origin commit data
------------------
Commit: d7ce847471
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-06 (Sat, 06 Apr 2013)
2013-04-06 08:49:16 +02:00
Thilo Graf
ff40ada214 CProgressBar: remove wrong intital value for frame thickness
Default value is 0, and should remain as specified in the base class.


Origin commit data
------------------
Commit: 210ae1491d
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-05 (Fri, 05 Apr 2013)
2013-04-06 08:33:51 +02:00
Michael Liebmann
64c8fa2e62 CComponentsPicture: initVarPicture() not execute if pic_name is blank
Origin commit data
------------------
Commit: bd47ef2060
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-04 (Thu, 04 Apr 2013)

Origin message was:
------------------
* CComponentsPicture: initVarPicture() not execute if pic_name is blank
2013-04-04 16:10:15 +01:00
Michael Liebmann
ab59797ae5 CComponentsInfoBox: CComponentsPicture not create when no image to draw
Origin commit data
------------------
Commit: 095c0e1b04
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-04 (Thu, 04 Apr 2013)

Origin message was:
------------------
* CComponentsInfoBox: CComponentsPicture not create when no image to draw
2013-04-04 16:10:15 +01:00
Jacek Jendrzej
ba1e24ee31 CComponents: don't paint the same box with different colors as background
Origin commit data
------------------
Commit: d18217effb
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-04-04 (Thu, 04 Apr 2013)
2013-04-04 12:19:31 +02:00
Thilo Graf
c3dfd001a8 CComponentsInfoBox: prevent background paint in infobox
Background for text is not needed here


Origin commit data
------------------
Commit: 4e7f81a126
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-04 (Thu, 04 Apr 2013)
2013-04-04 09:56:53 +02:00
Thilo Graf
6004ccf321 CComponentsText: add member to control background paint on textbox objects
Origin commit data
------------------
Commit: 3a4543b8d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-04 (Thu, 04 Apr 2013)
2013-04-04 09:56:53 +02:00
Thilo Graf
3c0d3d4279 CComponentsText: paint always background before painting text
Ensures erase of old text, usefully to avoid often
repaints of embedded textbox objects or text items


Origin commit data
------------------
Commit: e23b03fde9
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-03 (Wed, 03 Apr 2013)
2013-04-04 09:56:52 +02:00
Thilo Graf
0fc70f3bb6 CComponents: disable debug spam
Origin commit data
------------------
Commit: bdbea07e71
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-01 (Mon, 01 Apr 2013)
2013-04-04 09:56:52 +02:00
Thilo Graf
03b22f2d23 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


Origin commit data
------------------
Commit: 860be9a412
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-01 (Mon, 01 Apr 2013)
2013-04-02 09:31:05 +02:00
Thilo Graf
17d13ef103 CComponents: move item type enum to cc_types.h
Origin commit data
------------------
Commit: d391bedd5f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-26 (Tue, 26 Mar 2013)
2013-04-02 09:31:05 +02:00
Thilo Graf
2b3fda7bb2 CComponentsPIP: remove unsuitable filename
Origin commit data
------------------
Commit: d87290c2bc
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-25 (Mon, 25 Mar 2013)
2013-04-02 09:31:05 +02:00
Thilo Graf
cfda2df633 CComponentsInfoBox: ensure new init of picture
Delete causes a clean background because it is possible that remnants are
left after changed font size.


Origin commit data
------------------
Commit: 9af63bdc72
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-25 (Mon, 25 Mar 2013)
2013-03-25 20:23:35 +01:00
Thilo Graf
9376d64379 CComponentsLabel: add missing item type
Origin commit data
------------------
Commit: c99e23289b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-24 (Sun, 24 Mar 2013)
2013-03-24 21:14:11 +01:00
Thilo Graf
4a150e521a CComponentsPIP: apply left align for image, dont' save screen
This ensures a clean end on the left edge and save screen is not needed.


Origin commit data
------------------
Commit: b07c4231ef
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-22 (Fri, 22 Mar 2013)
2013-03-24 21:14:11 +01:00
Thilo Graf
b43f07bd80 CComponentsWindow/Header: fix add of header buttons
setHeaderButtons was without effect


Origin commit data
------------------
Commit: cc31a41f43
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-22 (Fri, 22 Mar 2013)
2013-03-24 21:14:10 +01:00
Thilo Graf
4096f4f6f6 CComponentsPIP: paint alternate picture if no tv mode
Use setPicture() to change image on runtime.


Origin commit data
------------------
Commit: 8196cf7671
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-22 (Fri, 22 Mar 2013)

Origin message was:
------------------
CComponentsPIP: paint alternate picture if no tv mode

Use setPicture() to change image on runtime.
2013-03-24 21:14:10 +01:00
Thilo Graf
5612f13d94 CComponentsText: rename getCCItemTextBoxInst -> getCTextBoxObject
This name should be more plausible


Origin commit data
------------------
Commit: 6b68259ac6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-21 (Thu, 21 Mar 2013)
2013-03-21 11:37:20 +01:00
Thilo Graf
0e9ff3d23c fix license text, sorry, was a c&p error
Origin commit data
------------------
Commit: 0dc4686874
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-20 (Wed, 20 Mar 2013)
2013-03-21 11:37:00 +01:00
Michael Liebmann
45f96526b9 CImageInfo: Scroll license text if text box too small
Origin commit data
------------------
Commit: 801a15df7c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-03-20 (Wed, 20 Mar 2013)

Origin message was:
------------------
* CImageInfo: Scroll license text if text box too small
2013-03-21 06:56:24 +01:00
Thilo Graf
91b0577c45 CComponents: fix build, fb_pixel_t and neutrino_locale_t was missed
Origin commit data
------------------
Commit: ab00522900
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-19 (Tue, 19 Mar 2013)
2013-03-19 08:12:35 +01:00
Thilo Graf
dd28162c61 CComponentsInfoBox: add NULL as default parameter for info_text
It's better to handel with NULL.

make clearCCItems() public and virtual so it can be used in window objects


Origin commit data
------------------
Commit: 259b58c829
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-18 (Mon, 18 Mar 2013)
2013-03-19 08:11:00 +01:00
Thilo Graf
efbc9fd655 CComponentsInfoBox: delete clean textbox object before create new object
Ensures a clean environment for changed properties of a textbox in infobox.


Origin commit data
------------------
Commit: 0fa2bbc7c9
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-18 (Mon, 18 Mar 2013)
2013-03-19 08:10:49 +01:00
Thilo Graf
a4460b8623 CComponentsLabel: add new sub class CComponentsLabel
Origin commit data
------------------
Commit: 2f5404d2fa
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-17 (Sun, 17 Mar 2013)
2013-03-18 12:04:58 +01:00
Thilo Graf
4448ce48bc CComponentsHeader: remove unused lines
Origin commit data
------------------
Commit: 824bc8913e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-15 (Fri, 15 Mar 2013)
2013-03-18 12:04:54 +01:00
Thilo Graf
c3ec552f46 CComponentsText: move overloaded setText() from header into main file
Origin commit data
------------------
Commit: eee2cd0d41
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-15 (Fri, 15 Mar 2013)
2013-03-18 12:04:50 +01:00
Thilo Graf
d2e2248b03 CComponentsHeader/Window: add possibility to return header height
Origin commit data
------------------
Commit: ca42d9ba74
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-15 (Fri, 15 Mar 2013)
2013-03-18 12:04:47 +01:00
Thilo Graf
7ad21cfd07 CComponentsForm/PIP: ensure hiding of minitv during hide of forms
Handling of minitv items are different to other item types
and need an explizit call of hide(). So it is possible to hide a form-
object without a extra call of hide() for minitv objects.


Origin commit data
------------------
Commit: 69476903ee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-14 (Thu, 14 Mar 2013)
2013-03-18 12:04:37 +01:00
Thilo Graf
bb1b5bc188 CComponentsWindow: add constructors with parameters for caption and icon
Origin commit data
------------------
Commit: d87d0754e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-14 (Thu, 14 Mar 2013)
2013-03-18 12:04:35 +01:00
Thilo Graf
6c4f390215 CComponentsHeader: init text always before paint header
Origin commit data
------------------
Commit: 544e3bb8ef
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-14 (Thu, 14 Mar 2013)
2013-03-18 12:04:29 +01:00
Thilo Graf
15a7b60515 CComponentsForm/Header/Icons/Window: try to fix multiple inits and paints
Some items had multiple inits and some calls of clearCCItems()
have caused segfaults, hope this fix this.


Origin commit data
------------------
Commit: 4a931af6ef
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-13 (Wed, 13 Mar 2013)
2013-03-18 12:04:25 +01:00
Thilo Graf
b35eeb6c3c CComponentsHeader/Icon: use inherited destructor
Inherited destructor contains identic code.


Origin commit data
------------------
Commit: da356d94da
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-10 (Sun, 10 Mar 2013)
2013-03-18 12:04:21 +01:00