Commit Graph

1212 Commits

Author SHA1 Message Date
Michael Liebmann
39704b72c0 * CComponentsFrmClock: Add member setTextColor()
- Add member refresh() for (re)calculate clock dimensions
2013-06-01 19:37:46 +02:00
svenhoefer
b318c15895 - cc_frm_header: rework positions/dimensions calculations 2013-05-30 21:51:12 +02:00
svenhoefer
890d282315 - CComponentsHeader: add possibility to change font in header class 2013-05-28 10:24:23 +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
8e46f63900 CComponentsHeader: rename some members for plausible usage in subclasses
Some members are usable in subclasses, but  current names could be not
suitable or not  plausible with respect to the name of subclass.
2013-05-27 11:58:05 +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
09d6881b20 CComponentsFrmClock: add missing statement for #include <config.h> 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
svenhoefer
784d8d3de2 - cc_frm_header: improve "fix neutrino locales in CComponentsHeader"
* supplement to 4cc9e76
2013-05-26 23:27:23 +02:00
svenhoefer
4cc9e7691a - cc_frm_header: fix neutrino locales in CComponentsHeader 2013-05-26 22:49:46 +02:00
Thilo Graf
9d52071c39 CComponentsFrmClock: add new class CComponentsFrmClock 2013-05-25 23:29:49 +02:00
Michael Liebmann
4da83b546c * CComponents: Reworked paint the shadows
- Paint rounded corners only where it is required
- Skip paint frame/paint shadow, if not defined
2013-05-24 21:48:56 +02:00
Stefan Seyfried
a7f1e0e25e Merge remote-tracking branch 'check/next-cc'
needs buildfixing in framebuffer class...

Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	src/driver/fontrenderer.cpp
	src/driver/volume.cpp
	src/gui/audiomute.cpp
	src/gui/audioplayer.cpp
	src/gui/osd_setup.cpp
	src/gui/widget/stringinput.cpp
	src/neutrino.cpp
2013-05-24 20:24:39 +02:00
Michael Liebmann
b1c7c7a34c * CComponentsItem::paintInit(): Corrected calculation of sw_cur
- Summarized calculate the values of shadow box
2013-05-22 22:02:17 +02:00
Michael Liebmann
2a6d12c332 * src/gui/components/cc_types.h: Renumbering 'align types' of correct evaluation 2013-05-21 19:34:53 +02:00
Michael Liebmann
b8da504432 * CComponentsItem: Set sw_cur = 0 if no shadow 2013-05-21 19:34:53 +02:00
Michael Liebmann
072097cd06 * Fix CComponents::getScreen()/hide() & CComponentsItem::hideCCItem()
- Use CFrameBuffer::waitForIdle() to ensure that all GXA commands
  are finished before SaveScreen() / RestoreScreen() is executed
2013-05-18 14:44:20 +01:00
Michael Liebmann
c5e223a231 * CComponents: Add corner_type to paintFbItems() => paintBoxFrame() 2013-05-16 11:01:41 +01:00
Thilo Graf
9ae72bf02d CComponents: fix missing save of background in paint_bg=false mode
Exit in initVarItem() on !paint_bg was too early.
2013-05-12 14:17:10 +02:00
Michael Liebmann
612ef514a3 * CComponents::paintFbItems: Fix paint frame
- Remove function CComponents::allowPaint()
2013-05-10 11:32:12 +01:00
Stefan Seyfried
8253c4d67c Merge remote-tracking branch 'check/next-cc'
needs some build-fixing and merge errors are likely :-(

Conflicts:
	configure.ac
	data/icons/start.jpg
	data/locale/deutsch.locale
	data/locale/unmaintained/dutch.locale
	lib/libdvbsub/Makefile.am
	lib/libdvbsub/dvbsubtitle.cpp
	lib/libtuxtxt/Makefile.am
	src/Makefile.am
	src/daemonc/Makefile.am
	src/driver/audiodec/Makefile.am
	src/driver/framebuffer.cpp
	src/driver/framebuffer.h
	src/driver/pictureviewer/Makefile.am
	src/driver/rcinput.cpp
	src/driver/streamts.cpp
	src/driver/volume.cpp
	src/eitd/Makefile.am
	src/gui/Makefile.am
	src/gui/audioplayer.cpp
	src/gui/bedit/Makefile.am
	src/gui/bedit/bouqueteditor_chanselect.cpp
	src/gui/bouquetlist.cpp
	src/gui/channellist.cpp
	src/gui/components/Makefile.am
	src/gui/epgview.cpp
	src/gui/eventlist.cpp
	src/gui/infoviewer.cpp
	src/gui/infoviewer_bb.cpp
	src/gui/keybind_setup.cpp
	src/gui/moviebrowser.cpp
	src/gui/movieplayer.cpp
	src/gui/scan.cpp
	src/gui/scan_setup.cpp
	src/gui/test_menu.cpp
	src/gui/test_menu.h
	src/gui/update.cpp
	src/gui/videosettings.cpp
	src/gui/widget/Makefile.am
	src/gui/widget/buttons.cpp
	src/gui/widget/stringinput.cpp
	src/neutrino.cpp
	src/nhttpd/tuxboxapi/coolstream/Makefile.am
	src/system/Makefile.am
	src/system/setting_helpers.cpp
	src/system/settings.h
	src/zapit/include/zapit/client/zapitclient.h
	src/zapit/include/zapit/femanager.h
	src/zapit/include/zapit/getservices.h
	src/zapit/lib/zapitclient.cpp
	src/zapit/src/Makefile.am
	src/zapit/src/capmt.cpp
	src/zapit/src/femanager.cpp
	src/zapit/src/frontend.cpp
	src/zapit/src/getservices.cpp
2013-05-10 10:06:47 +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
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
svenhoefer
62f5b11123 - cc_detailsline.cpp: fix coordinates for shadow lines 2013-05-02 21:10:00 +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
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
cadb66e225 CComponentsInfoBox: add missing define for text color 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
f774eb833f CComponentsInfoBox: replace static parameter with inherited member
member value was not looped through
2013-04-27 22:16:15 +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
48c4142a24 CComponentsItem: don't render shadow as full box 2013-04-20 22:55:23 +02:00
Thilo Graf
4a5044ca46 CComponents: remove unused enum type 2013-04-20 22:55:23 +02:00
Thilo Graf
d725153ebe CComponentsItem: move calculation out of struct an add comment 2013-04-20 13:10:54 +02:00
Thilo Graf
04afa10e02 CComponents:add sub class CComponentsButton 2013-04-20 12:53:25 +02:00
Jacek Jendrzej
ddc9229efc use var passed by reference 2013-04-18 19:19:30 +02:00
svenhoefer
263da08fb9 - cc_item.cpp: fix wrong calc in paintInit() 2013-04-18 17:45:48 +02:00
[CST] Focus
8bb70d1ab3 Merge branch 'pu/cc' into next-cc
Conflicts:
	acinclude.m4
	data/locale/deutsch.locale
	data/locale/english.locale
	src/driver/volume.cpp
	src/eitd/SIlanguage.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bedit/bouqueteditor_chanselect.cpp
	src/gui/bouquetlist.cpp
	src/gui/channellist.cpp
	src/gui/eventlist.cpp
	src/gui/osd_setup.cpp
	src/gui/scan.cpp
	src/gui/scan.h
	src/gui/test_menu.cpp
	src/gui/timeosd.cpp
	src/gui/widget/progressbar.cpp
	src/gui/widget/progressbar.h
	src/neutrino.cpp
	src/nhttpd/yconfig.h
2013-04-17 13:32:12 +04:00
Thilo Graf
df0a454efe CComponentsItem: prevent possible compile error 2013-04-16 11:56:27 +02: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