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
f01a9071d2
CProgressBar: replace x/y position with real position on screen
...
Important to paint related to screen within form dimensions
btw: small cleanups
2013-04-16 08:26:55 +02:00
Thilo Graf
dc373666e0
CComponentsText: add debug output, changes name of arg in iToString()
2013-04-16 08:26:55 +02:00
Thilo Graf
9420edd932
CComponentsItem: add members to get real item position
2013-04-16 08:26:55 +02:00
Thilo Graf
3d35a30ecf
CComponentsPicture: add debug output
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
cd1a4c89a8
CProgressBar: use already calculated position var for diagonal line
2013-04-16 08:26:54 +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
Stefan Seyfried
61bf95f552
Merge branch 'check/pu-cc' into master
...
Conflicts:
src/gui/osd_setup.cpp
src/neutrino.cpp
2013-04-13 17:17:30 +02:00
Thilo Graf
276fa6273e
CProgressBar: use correct default colors in constructor
2013-04-07 20:37:54 +02:00
Stefan Seyfried
8d8ce4c55a
cc_frm: fix invalid cast
2013-04-06 22:20:58 +02:00
Stefan Seyfried
8b689f4b26
Merge branch 'check/pu-cc' into master
...
...needs some build- and logical fixing...
Conflicts:
data/locale/deutsch.locale
data/locale/english.locale
src/driver/volume.cpp
src/gui/eventlist.cpp
src/gui/moviebrowser.cpp
src/gui/scan.cpp
src/gui/timeosd.cpp
src/gui/widget/progressbar.cpp
src/gui/widget/progressbar.h
2013-04-06 14:28:16 +02:00
Stefan Seyfried
37d70cd345
cc_frm: fix invalid cast
2013-04-06 12:28:18 +02:00
Stefan Seyfried
5ad0b6b6dc
Merge branch 'check/pu-cc' into master
...
needs buildfixing...
Conflicts:
data/Makefile.am
src/driver/framebuffer.h
src/driver/volume.cpp
src/gui/bedit/bouqueteditor_bouquets.cpp
src/gui/bedit/bouqueteditor_channels.cpp
src/gui/bouquetlist.cpp
src/gui/channellist.cpp
src/gui/filebrowser.cpp
src/gui/imageinfo.cpp
src/gui/infoviewer.cpp
src/gui/streaminfo2.cpp
src/gui/widget/textbox.cpp
2013-04-06 11:21:55 +02:00
Thilo Graf
d7ce847471
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 095c0e1b04
2013-04-06 08:49:16 +02:00
Thilo Graf
210ae1491d
CProgressBar: remove wrong intital value for frame thickness
...
Default value is 0, and should remain as specified in the base class.
2013-04-06 08:33:51 +02:00
Michael Liebmann
bd47ef2060
* CComponentsPicture: initVarPicture() not execute if pic_name is blank
2013-04-04 16:10:15 +01:00
Michael Liebmann
095c0e1b04
* CComponentsInfoBox: CComponentsPicture not create when no image to draw
2013-04-04 16:10:15 +01: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
4e7f81a126
CComponentsInfoBox: prevent background paint in infobox
...
Background for text is not needed here
2013-04-04 09:56:53 +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
e23b03fde9
CComponentsText: paint always background before painting text
...
Ensures erase of old text, usefully to avoid often
repaints of embedded textbox objects or text items
2013-04-04 09:56:52 +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
d87290c2bc
CComponentsPIP: remove unsuitable filename
2013-04-02 09:31:05 +02:00
Thilo Graf
9af63bdc72
CComponentsInfoBox: ensure new init of picture
...
Delete causes a clean background because it is possible that remnants are
left after changed font size.
2013-03-25 20:23:35 +01:00
Thilo Graf
c99e23289b
CComponentsLabel: add missing item type
2013-03-24 21:14:11 +01:00
Thilo Graf
b07c4231ef
CComponentsPIP: apply left align for image, dont' save screen
...
This ensures a clean end on the left edge and save screen is not needed.
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
Thilo Graf
6b68259ac6
CComponentsText: rename getCCItemTextBoxInst -> getCTextBoxObject
...
This name should be more plausible
2013-03-21 11:37:20 +01:00
Thilo Graf
0dc4686874
fix license text, sorry, was a c&p error
2013-03-21 11:37:00 +01:00
Michael Liebmann
801a15df7c
* CImageInfo: Scroll license text if text box too small
2013-03-21 06:56:24 +01:00
Thilo Graf
ab00522900
CComponents: fix build, fb_pixel_t and neutrino_locale_t was missed
2013-03-19 08:12:35 +01:00
Thilo Graf
259b58c829
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
2013-03-19 08:11:00 +01:00
Thilo Graf
0fa2bbc7c9
CComponentsInfoBox: delete clean textbox object before create new object
...
Ensures a clean environment for changed properties of a textbox in infobox.
2013-03-19 08:10:49 +01:00
Thilo Graf
2f5404d2fa
CComponentsLabel: add new sub class CComponentsLabel
2013-03-18 12:04:58 +01:00
Thilo Graf
824bc8913e
CComponentsHeader: remove unused lines
2013-03-18 12:04:54 +01:00
Thilo Graf
eee2cd0d41
CComponentsText: move overloaded setText() from header into main file
2013-03-18 12:04:50 +01:00
Thilo Graf
ca42d9ba74
CComponentsHeader/Window: add possibility to return header height
2013-03-18 12:04:47 +01:00
Thilo Graf
69476903ee
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.
2013-03-18 12:04:37 +01:00
Thilo Graf
d87d0754e0
CComponentsWindow: add constructors with parameters for caption and icon
2013-03-18 12:04:35 +01:00
Thilo Graf
544e3bb8ef
CComponentsHeader: init text always before paint header
2013-03-18 12:04:29 +01:00
Thilo Graf
4a931af6ef
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.
2013-03-18 12:04:25 +01:00