Commit Graph

4305 Commits

Author SHA1 Message Date
Michael Liebmann
cfd7b4b16b * Rework positioning of volumebar / mute icon / info clock
- Is required for custom icons
2013-05-10 11:32:12 +01:00
Michael Liebmann
612ef514a3 * CComponents::paintFbItems: Fix paint frame
- Remove function CComponents::allowPaint()
2013-05-10 11:32:12 +01:00
Jacek Jendrzej
28c67bbc9b CNeutrinoEventList::exec call hide only once 2013-05-10 11:28:22 +02:00
svenhoefer
df3d5567a1 - epgview: depend window size on font size 2013-05-10 10:33:23 +02:00
svenhoefer
742cc81f46 - framebuffer: add possibility to force small windows 2013-05-10 10:31:46 +02:00
svenhoefer
7d5ecda6e5 - infoviewer: get width of timescale from progressbar object ...
.. to remove hardcoded timescale width in showInfoFile()
2013-05-10 09:33:25 +02:00
Michael Liebmann
3d33901e5e * OSD Setup: Move volume settings in a separate submenu. 2013-05-09 16:58:52 +01:00
Jacek Jendrzej
438248bfac CChannelList::show() call hide only once 2013-05-09 16:32:11 +02:00
Jacek Jendrzej
28198dc320 CMenuWidget::paintItems: clean only last multipage menu 2013-05-09 13:10:23 +02:00
Michael Liebmann
309b371060 * CComponents::paintFbItems: Don't paint item if dx or dy are 0 2013-05-08 07:06:12 +01:00
Thilo Graf
8baec6d62a CVolumeBar: rework volumebar handling
Use CComponenets and separates the gui part from driver part

- add new class CVolumeBar as CComponentsForm
- Various changes for reworked volume bar handling in some classes
- Move AudioMute() from CVolume to new class CAudioMute
- Use CComponentsPicture to paint muteicon
2013-05-08 05:11:24 +01:00
svenhoefer
050df14f8d - textbox: don't accept boxes with no borderwidth 2013-05-08 00:30:58 +02:00
Michael Liebmann
d802b85bbc * CFrameBuffer::paintBoxRel(): Correct debug message if dx or dy are 0 2013-05-05 13:12:08 +01:00
Michael Liebmann
2c740f1db8 * CTextBox: rename setFontTextHeight() => getFontTextHeight() 2013-05-04 21:42:10 +02:00
Michael Liebmann
1fb105b361 * dvbsubtitle: Fix segfault in destructor 2013-05-04 18:20:52 +01:00
Jacek Jendrzej
1d2ac01ecc * CNeutrinoEventList: Skip unnecessary drawing of the background 2013-05-04 12:08:36 +01:00
Michael Liebmann
266a975e5b * CNeutrinoEventList: Paint event list alone after the list was sorted
- paintDescription(): force paint of text
2013-05-04 11:01:31 +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
Jacek Jendrzej
4bf2a4aa19 src/gui/channellist.cpp: skip paint BG for item if firstpaint 2013-05-03 18:42:35 +02:00
Jacek Jendrzej
05df699bc8 src/gui/cam_menu.cpp: use enableSaveScreen 2013-05-03 15:35:05 +02:00
svenhoefer
62f5b11123 - cc_detailsline.cpp: fix coordinates for shadow lines 2013-05-02 21:10:00 +02:00
svenhoefer
c9a17eda0e - channellist: fix transparent pixels in round corners of detail box 2013-05-02 21:08:04 +02:00
Jacek Jendrzej
dfa73458cc src/gui/epgview.cpp:use paintBackgroundBoxRel only for hide 2013-05-02 20:13:17 +02:00
Jacek Jendrzej
6ba280261b CTimerManager:: don't set wekup flag if box boot from zapto timer 2013-05-01 22:00:03 +02:00
Jacek Jendrzej
127401da9c nhttpd: -add Slovak language by EnoSat 2013-05-01 11:52:24 +02:00
Jacek Jendrzej
1379fe80d3 nhttpd: -add Slovak language by EnoSat 2013-05-01 11:50:39 +02:00
Jacek Jendrzej
36044a9414 update encoding.conf by EnoSat 2013-05-01 11:47:10 +02:00
Jacek Jendrzej
3f8536b029 update slovak locale by EnoSat 2013-05-01 11:46:28 +02:00
svenhoefer
24a4277863 - eventlist: cleanup from unnecessary calculations 2013-04-30 16:22:59 +02:00
svenhoefer
d892a700af - eventlist: re-align prev/next channelnames in header 2013-04-30 13:50:13 +02:00
svenhoefer
997bd1bc7f - eventlist: move info button from header to buttonbar
* remove unused button_label structs
2013-04-30 12:59:13 +02:00
Jacek Jendrzej
6f552797b4 src/gui/widget/menue.cpp: don't paint icon if no space for this 2013-04-29 21:08:44 +02:00
Thilo Graf
a7d8597f05 CTextBox: user CORNER_ALL for corner type parameter to paint text background 2013-04-28 16:48:11 +02:00
Thilo Graf
4511d292b7 CNeutrinoEventList:kill text background during scrolling through event list
This is necessary because the background of text
is not automatically deleted.
2013-04-28 16:48:11 +02:00
Thilo Graf
76a2c44014 CComponentsText: force text paint after hide
After hide()it was not possible to paint text without forceTextPaint()
and define of ct_old_text in setText() was not enough.
2013-04-28 16:48:11 +02:00
Thilo Graf
85b1117f37 CComponentsButton: use adequate arrangement for caption 2013-04-28 16:48:10 +02:00
Thilo Graf
988d1f3ea8 CComponentsHeader/Button: force paint of text 2013-04-28 16:48:10 +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
Michael Liebmann
fccb07cfc9 * CTextBox: When using only digits to display:
- Use for calculating digit height
  font->getDigitHeight() / font->getDigitOffset()
2013-04-28 16:48:09 +02:00
Thilo Graf
9735c670fd CComponentsText: init CComponentsText without paint of text background
This avoids unnecessary render of backgrounds in textboxes. If it does,
so it's possible to enable it subsequently with doPaintTextBoxBg().
2013-04-28 16:48:08 +02:00
Thilo Graf
19f2d556ee CInfoViewer: use correct text color in showInfoFile() 2013-04-27 22:20:10 +02:00
Thilo Graf
cadb66e225 CComponentsInfoBox: add missing define for text color 2013-04-27 22:20:10 +02:00
Thilo Graf
54d0f8b42b CInfoViewer: add member killInfobarText()
Ensure that no unnecessary instance of Components infobox is generated
and paint only changed text.
2013-04-27 22:20:10 +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
Thilo Graf
e30f4d2764 CInfoViewer: ensure hide on deleted info file 2013-04-27 22:20:09 +02:00
Thilo Graf
f774eb833f CComponentsInfoBox: replace static parameter with inherited member
member value was not looped through
2013-04-27 22:16:15 +02:00
Jacek Jendrzej
6d088357c3 CInfoViewer::showInfoFile -check file size
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-04-26 18:31:40 +02:00
Thilo Graf
a09d7f4a7e CInfoViewer: implement CComponentsInfoBox() to show infobar.txt content 2013-04-26 18:31:39 +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