Commit Graph

103 Commits

Author SHA1 Message Date
Thilo Graf
9b76adddc8 CFrameBuffer: reduce debug spam
possible error is already intercepted.


Origin commit data
------------------
Commit: 09d40a2ddb
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-12 (Wed, 12 Oct 2016)
2016-10-12 09:16:36 +02:00
Thilo Graf
d75b4dea83 CFrameBuffer: add debug warning if radius < 0
Radius < 0 causes for wrong rendering. paintBoxFrame() gets confused.
This will paint partial outside of frame area.


Origin commit data
------------------
Commit: 0eca61b71e
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-01 (Thu, 01 Sep 2016)
2016-09-13 09:09:24 +02:00
Thilo Graf
1134c80072 CFrameBuffer: add debug warning if radius < 0
Radius < 0 causes for wrong rendering. paintBoxRel() gets confused.
This will paint partial outside of renderbox.

TODO: This should be fixed.


Origin commit data
------------------
Commit: ed0154a973
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-31 (Wed, 31 Aug 2016)
2016-08-31 10:03:52 +02:00
Michael Liebmann
52d3483e78 Fix first paint mute icon
Origin commit data
------------------
Commit: 46659ddaf0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-04-24 (Sun, 24 Apr 2016)
2016-04-24 19:37:17 +02:00
Thilo Graf
b82a6b0ed4 CFrameBuffer: outsource code for icon path detecting
Unified handling and makes it possible to use in other objects.


Origin commit data
------------------
Commit: 97343d1190
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-03-17 (Thu, 17 Mar 2016)
2016-03-17 10:25:26 +01:00
Jacek Jendrzej
b3402292ab CFrameBuffer::getIconSize check if pic is icon
Origin commit data
------------------
Commit: 90a3cecb06
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-02-15 (Mon, 15 Feb 2016)
2016-02-15 21:30:13 +01:00
Michael Liebmann
320f29e3c4 Fix freeze neutrino at mute icon and gradient header
Origin commit data
------------------
Commit: edb5407163
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-30 (Sat, 30 Jan 2016)
2016-01-31 19:31:40 +01:00
Michael Liebmann
cd6a46b7e0 CFrameBuffer::paintBoxRel: Fix segfault in standby mode
and fix segfault when paintBoxRel2Buf() returns NULL


Origin commit data
------------------
Commit: 86278623a6
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-28 (Thu, 28 Jan 2016)

Origin message was:
------------------
CFrameBuffer::paintBoxRel: Fix segfault in standby mode

 and fix segfault when paintBoxRel2Buf() returns NULL
2016-01-28 01:49:26 +01:00
Michael Liebmann
5811644376 Fix osd error on nevis
Origin commit data
------------------
Commit: 87e6f328dd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-27 (Wed, 27 Jan 2016)
2016-01-27 10:07:33 +01:00
Michael Liebmann
b4a84c445e CFrameBuffer::paintBoxRel2Buf(): Align buffer at 4 byte boundary...
...for hw blit on apollo/kronos hardware


Origin commit data
------------------
Commit: 95f11ce7af
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)
2016-01-26 09:51:48 +01:00
Michael Liebmann
b49195d6fc framebuffer: use hardware accel for blitBox2FB()
Origin commit data
------------------
Commit: 1bd0f814bc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)
2016-01-26 09:51:48 +01:00
Thilo Graf
72a289a90c components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
components: rework classes

- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
vanhofen
a0d9c39ce0 framebuffer: add missing slashs to iconBasePath
Origin commit data
------------------
Commit: 3c3d873fba
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-07 (Thu, 07 May 2015)

Origin message was:
------------------
- framebuffer: add missing slashs to iconBasePath
2015-05-07 12:10:13 +02:00
vanhofen
3429bd79b2 fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h
Origin commit data
------------------
Commit: 89a11de651
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-06 (Wed, 06 May 2015)

Origin message was:
------------------
- fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h
2015-05-06 22:58:54 +02:00
vanhofen
6a4659bf77 framebuffer: revival of showFrame() function to allow ...
... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons


Origin commit data
------------------
Commit: edc8527379
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-05 (Tue, 05 May 2015)

Origin message was:
------------------
- framebuffer: revival of showFrame() function to allow ...

... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons
2015-05-05 12:01:04 +02:00
Thilo Graf
b84c69472b CFrameBuffer: add comment for unsolved issue on full icon cache
Origin commit data
------------------
Commit: ba6f265255
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-05 (Sun, 05 Apr 2015)
2015-04-05 17:38:20 +02:00
[CST] Bas
7c824c6082 src/driver/framebuffer.cpp: check dimension in int_convertRGB2FB and if it's not valid, spit out a warning
and return NULL.


Origin commit data
------------------
Commit: bc0c048474
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2015-02-22 (Sun, 22 Feb 2015)

Origin message was:
------------------
src/driver/framebuffer.cpp: check dimension in int_convertRGB2FB and if it's not valid, spit out a warning
              and return NULL.
2015-02-22 19:01:42 +03:00
[CST] Bas
9111648dd3 src/driver/framebuffer.cpp: fix-up reading raw icons. If read failed or it read an corrupted header it could
lead to bad allocations. Prevent that.


Origin commit data
------------------
Commit: e9f049c677
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2015-02-17 (Tue, 17 Feb 2015)

Origin message was:
------------------
src/driver/framebuffer.cpp: fix-up reading raw icons. If read failed or it read an corrupted header it could
              lead to bad allocations. Prevent that.
2015-02-22 17:23:11 +03:00
Jacek Jendrzej
2846dee71f CFrameBuffer::paintBoxRel: check boxBuf if not NULL
Origin commit data
------------------
Commit: 644dc460a2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-11-06 (Thu, 06 Nov 2014)
2014-11-06 17:31:11 +01:00
Michael Liebmann
19fc9e2a48 CFrameBuffer: Fix paintIcon() for use icons with full path
Origin commit data
------------------
Commit: a4fdd17407
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-06 (Mon, 06 Oct 2014)
2014-10-08 14:14:20 +04:00
Michael Liebmann
9fc90622cf CFrameBuffer: Add functions to draw color gradients
Origin commit data
------------------
Commit: a428a1f583
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:05:46 +04:00
[CST] Focus
7d5aa057a6 driver/framebuffer.cpp: fix COL_BACKGROUND
Origin commit data
------------------
Commit: b07f61a1cf
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-12 (Fri, 12 Sep 2014)
2014-09-12 10:05:54 +04:00
[CST] Focus
37ad811196 driver/framebuffer.cpp: try to load icons first from /var/tuxbox/icons/
Origin commit data
------------------
Commit: 1ee458e461
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-01-27 (Mon, 27 Jan 2014)
2014-01-27 15:44:15 +04:00
[CST] Focus
9fc9267701 driver/framebuffer.cpp: switch from window_size to window width/height,
allow 50% min window size


Origin commit data
------------------
Commit: 0dc92e99f9
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-07 (Thu, 07 Nov 2013)
2013-11-07 17:25:15 +04:00
Thilo Graf
5f9bb84b28 revert 2649ca147a
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget


Origin commit data
------------------
Commit: 6dd1da0628
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-25 (Fri, 25 Oct 2013)
2013-10-26 23:25:59 +02:00
Thilo Graf
2649ca147a CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.


Origin commit data
------------------
Commit: 6ee7fac1a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
2013-10-24 21:39:04 +02:00
Michael Liebmann
a6eefc134f CFrameBuffer: Fix query for Apollo hardware
Origin commit data
------------------
Commit: df43ca24fa
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-21 (Mon, 21 Oct 2013)
2013-10-21 09:32:15 +02:00
gixxpunk
760e71af9f fix annoying gui flickering when fading is activated on nevis
Origin commit data
------------------
Commit: 80fbe7db4c
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2013-10-20 (Sun, 20 Oct 2013)

Origin message was:
------------------
- fix annoying gui flickering when fading is activated on nevis
2013-10-20 21:07:59 +02:00
vanhofen
4bcbf90dc1 osd_setup: introduce g_settings.window_size to scale some windows
* remove g_settings.big_windows
* add setup window (use up/down to change size)


Origin commit data
------------------
Commit: 6ed30528f9
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-09-02 (Mon, 02 Sep 2013)

Origin message was:
------------------
- osd_setup: introduce g_settings.window_size to scale some windows

* remove g_settings.big_windows
* add setup window (use up/down to change size)
2013-09-02 20:59:26 +02:00
Michael Liebmann
d31569ad28 Activate reworked mute icon handling for apollo hardware
Origin commit data
------------------
Commit: 677a3ba116
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-24 (Sat, 24 Aug 2013)
2013-08-24 15:51:29 +02:00
Michael Liebmann
06973062e0 Fix compile neutrino don't use USE_NEVIS_GXA
Origin commit data
------------------
Commit: 2b03fd0ddc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-28 (Tue, 28 May 2013)

Origin message was:
------------------
* Fix compile neutrino don't use USE_NEVIS_GXA
2013-05-28 20:49:24 +02:00
Stefan Seyfried
accdd4ebd2 framebuffer: implement alphablending for non-accelerated devices
Origin commit data
------------------
Commit: 820426eaaa
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-24 (Sat, 24 Nov 2012)
2013-05-28 20:49:24 +02:00
Thilo Graf
31f97d4d0b CFrameBuffer: style fixes
Scope of the some variable can be reduced, and
waitForIdle(): %d in format string requires a signed integer given in
the argument list.


Origin commit data
------------------
Commit: 73cf6e9410
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-20 (Mon, 20 May 2013)
2013-05-25 16:48:35 +02:00
Michael Liebmann
78e191de29 CFrameBuffer::paintBoxRel: Skip paint the line, if the calculated width < 0
- When width < 0 GXA overwrites undefined image regions
- Skip paint the line, if the calculated width = 0 (unnecessarily)


Origin commit data
------------------
Commit: 00dd399ff9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-24 (Fri, 24 May 2013)

Origin message was:
------------------
* CFrameBuffer::paintBoxRel: Skip paint the line, if the calculated width < 0

- When width < 0 GXA overwrites undefined image regions
- Skip paint the line, if the calculated width = 0 (unnecessarily)
2013-05-24 09:56:07 +02:00
Michael Liebmann
f72058e32e CFrameBuffer::waitForIdle: Added a parameter
to identify the execution at Debug Output
- For example: name of the calling function


Origin commit data
------------------
Commit: d460c50bd5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-17 (Fri, 17 May 2013)

Origin message was:
------------------
* CFrameBuffer::waitForIdle: Added a parameter

 to identify the execution at Debug Output
- For example: name of the calling function
2013-05-18 14:44:20 +01:00
Michael Liebmann
36663ad335 CFrameBuffer: Rework paintBoxFrame()
- Rounded corners can be displayed individually
- Improved rendering of circular arcs
- Remove duplicate code in paintBoxRel()


Origin commit data
------------------
Commit: b089d9bf20
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-16 (Thu, 16 May 2013)

Origin message was:
------------------
* CFrameBuffer: Rework paintBoxFrame()

- Rounded corners can be displayed individually
- Improved rendering of circular arcs
- Remove duplicate code in paintBoxRel()
2013-05-16 11:01:41 +01:00
Michael Liebmann
2b64c52a2f Rework handling muteicon
- Integrated for monitoring the mute icon into the frame buffer class.
 If the icon is overwritten by an element, it is restored from the
 framebuffer.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 1049b337bb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-13 (Mon, 13 May 2013)

Origin message was:
------------------
* Rework handling muteicon

- Integrated for monitoring the mute icon into the frame buffer class.
 If the icon is overwritten by an element, it is restored from the
 framebuffer.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2013-05-16 11:01:41 +01:00
vanhofen
f549c03355 framebuffer: add possibility to force small windows
Origin commit data
------------------
Commit: 742cc81f46
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-10 (Fri, 10 May 2013)

Origin message was:
------------------
- framebuffer: add possibility to force small windows
2013-05-10 10:31:46 +02:00
Thilo Graf
51e81122b5 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


Origin commit data
------------------
Commit: 8baec6d62a
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-04 (Sat, 04 May 2013)
2013-05-08 05:11:24 +01:00
Michael Liebmann
85ef783f6c CFrameBuffer::paintBoxRel(): Correct debug message if dx or dy are 0
Origin commit data
------------------
Commit: d802b85bbc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-05 (Sun, 05 May 2013)

Origin message was:
------------------
* CFrameBuffer::paintBoxRel(): Correct debug message if dx or dy are 0
2013-05-05 13:12:08 +01:00
vanhofen
b659d5c95a strech most windows to full screen
* switchable with existing switch for 'big_windows'
* 'big_windows' default is on

Conflicts:
	src/gui/bedit/bouqueteditor_bouquets.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bedit/bouqueteditor_chanselect.cpp


Origin commit data
------------------
Commit: 4714a30f83
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-03-25 (Mon, 25 Mar 2013)

Origin message was:
------------------
- strech most windows to full screen

* switchable with existing switch for 'big_windows'
* 'big_windows' default is on

Conflicts:
	src/gui/bedit/bouqueteditor_bouquets.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bedit/bouqueteditor_chanselect.cpp
2013-04-01 15:42:38 +04:00
[CST] Focus
0aaabe8d69 driver/framebuffer.cpp: fix round corners, if only one top or bottom included
Origin commit data
------------------
Commit: 5964a70854
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-29 (Fri, 29 Mar 2013)
2013-03-29 14:30:08 +04:00
[CST] Focus
886c55220d driver/framebuffer.cpp: fix nevix box paint
Origin commit data
------------------
Commit: b30d913dbd
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-27 (Wed, 27 Mar 2013)
2013-03-27 14:38:43 +04:00
[CST] Bas
b61891f11e Merge branch 'next' of coolstreamtech.de:cst-private-neutrino into next
Origin commit data
------------------
Commit: 34187b12cd
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2013-01-28 (Mon, 28 Jan 2013)
2013-01-29 01:21:50 +08:00
[CST] Bas
953831c2c3 neutrino: fix file locations. use the predetermined CONFIGDIR instead of hardcoding paths.
Origin commit data
------------------
Commit: 8dfa226920
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2013-01-25 (Fri, 25 Jan 2013)
2013-01-25 10:33:40 +08:00
[CST] Focus
dd6a4b430b driver/framebuffer.cpp: move fade sleep workaround to fade.cpp
Origin commit data
------------------
Commit: 3f7ddf58a5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-23 (Wed, 23 Jan 2013)
2013-01-23 11:57:27 +04:00
[CST] Focus
285e7f74e0 driver/framebuffer.cpp: paintBoxRel with solid fill for nevis
Origin commit data
------------------
Commit: 0dfd9d0a47
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-18 (Fri, 18 Jan 2013)
2013-01-18 15:48:13 +04:00
[CST] Bas
069054f613 src/driver/framebuffer.cpp: don't use 2d accelerator for small lines, fall-back to s/w.
Origin commit data
------------------
Commit: 29e5a32e09
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2013-01-18 (Fri, 18 Jan 2013)
2013-01-18 19:15:12 +08:00
[CST] Focus
471125a0bc driver/framebuffer.cpp: fix
Origin commit data
------------------
Commit: 03ee79aaf0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-18 (Fri, 18 Jan 2013)
2013-01-18 11:10:35 +04:00
[CST] Bas
896ca77074 merge neutrino-apollo
Origin commit data
------------------
Commit: e7833b099f
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2013-01-18 (Fri, 18 Jan 2013)
2013-01-18 10:59:27 +04:00