Commit Graph

105 Commits

Author SHA1 Message Date
Stefan Seyfried
c695ae8ea8 framebuffer/configure: remove unused --restore-prev-mode
this is unused, untested and most likely not working at all
2017-02-07 18:38:44 +01:00
Jacek Jendrzej
b8849d53b5 fix possible segfault and negative height 2016-10-31 15:53:29 +01:00
Thilo Graf
09d40a2ddb CFrameBuffer: reduce debug spam
possible error is already intercepted.
2016-10-12 09:16:36 +02:00
Thilo Graf
0eca61b71e CFrameBuffer: add debug warning if radius < 0
Radius < 0 causes for wrong rendering. paintBoxFrame() gets confused.
This will paint partial outside of frame area.
2016-09-13 09:09:24 +02:00
Thilo Graf
ed0154a973 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.
2016-08-31 10:03:52 +02:00
M. Liebmann
46659ddaf0 Fix first paint mute icon 2016-04-24 19:37:17 +02:00
Thilo Graf
97343d1190 CFrameBuffer: outsource code for icon path detecting
Unified handling and makes it possible to use in other objects.
2016-03-17 10:25:26 +01:00
Jacek Jendrzej
90a3cecb06 CFrameBuffer::getIconSize check if pic is icon 2016-02-15 21:30:13 +01:00
M. Liebmann
edb5407163 Fix freeze neutrino at mute icon and gradient header 2016-01-31 19:31:40 +01:00
M. Liebmann
86278623a6 CFrameBuffer::paintBoxRel: Fix segfault in standby mode
and fix segfault when paintBoxRel2Buf() returns NULL
2016-01-28 01:49:26 +01:00
M. Liebmann
87e6f328dd Fix osd error on nevis 2016-01-27 10:07:33 +01:00
M. Liebmann
95f11ce7af CFrameBuffer::paintBoxRel2Buf(): Align buffer at 4 byte boundary...
...for hw blit on apollo/kronos hardware
2016-01-26 09:51:48 +01:00
M. Liebmann
1bd0f814bc framebuffer: use hardware accel for blitBox2FB() 2016-01-26 09:51:48 +01:00
Thilo Graf
0146511f38 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
svenhoefer
3c3d873fba - framebuffer: add missing slashs to iconBasePath 2015-05-07 12:10:13 +02:00
svenhoefer
89a11de651 - fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h 2015-05-06 22:58:54 +02:00
svenhoefer
edc8527379 - 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
ba6f265255 CFrameBuffer: add comment for unsolved issue on full icon cache 2015-04-05 17:38:20 +02:00
[CST] Bas
bc0c048474 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
e9f049c677 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
644dc460a2 CFrameBuffer::paintBoxRel: check boxBuf if not NULL 2014-11-06 17:31:11 +01:00
M. Liebmann
a4fdd17407 CFrameBuffer: Fix paintIcon() for use icons with full path 2014-10-08 14:14:20 +04:00
M. Liebmann
a428a1f583 CFrameBuffer: Add functions to draw color gradients 2014-09-25 11:05:46 +04:00
[CST] Focus
b07f61a1cf driver/framebuffer.cpp: fix COL_BACKGROUND 2014-09-12 10:05:54 +04:00
[CST] Focus
1ee458e461 driver/framebuffer.cpp: try to load icons first from /var/tuxbox/icons/ 2014-01-27 15:44:15 +04:00
[CST] Focus
0dc92e99f9 driver/framebuffer.cpp: switch from window_size to window width/height,
allow 50% min window size
2013-11-07 17:25:15 +04:00
Thilo Graf
6dd1da0628 revert 6ee7fac1a5
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget
2013-10-26 23:25:59 +02:00
Thilo Graf
6ee7fac1a5 CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.
2013-10-24 21:39:04 +02:00
Michael Liebmann
df43ca24fa CFrameBuffer: Fix query for Apollo hardware 2013-10-21 09:32:15 +02:00
striper
80fbe7db4c - fix annoying gui flickering when fading is activated on nevis 2013-10-20 21:07:59 +02:00
svenhoefer
6ed30528f9 - 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
677a3ba116 Activate reworked mute icon handling for apollo hardware 2013-08-24 15:51:29 +02:00
Michael Liebmann
2b03fd0ddc * Fix compile neutrino don't use USE_NEVIS_GXA 2013-05-28 20:49:24 +02:00
Stefan Seyfried
820426eaaa framebuffer: implement alphablending for non-accelerated devices 2013-05-28 20:49:24 +02:00
Thilo Graf
73cf6e9410 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.
2013-05-25 16:48:35 +02:00
Michael Liebmann
00dd399ff9 * 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
d460c50bd5 * 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
b089d9bf20 * 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
1049b337bb * 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
svenhoefer
742cc81f46 - framebuffer: add possibility to force small windows 2013-05-10 10:31:46 +02: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
Michael Liebmann
d802b85bbc * CFrameBuffer::paintBoxRel(): Correct debug message if dx or dy are 0 2013-05-05 13:12:08 +01:00
svenhoefer
4714a30f83 - 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
5964a70854 driver/framebuffer.cpp: fix round corners, if only one top or bottom included 2013-03-29 14:30:08 +04:00
[CST] Focus
b30d913dbd driver/framebuffer.cpp: fix nevix box paint 2013-03-27 14:38:43 +04:00
[CST] Bas
34187b12cd Merge branch 'next' of coolstreamtech.de:cst-private-neutrino into next 2013-01-29 01:21:50 +08:00
[CST] Bas
8dfa226920 neutrino: fix file locations. use the predetermined CONFIGDIR instead of hardcoding paths. 2013-01-25 10:33:40 +08:00
[CST] Focus
3f7ddf58a5 driver/framebuffer.cpp: move fade sleep workaround to fade.cpp 2013-01-23 11:57:27 +04:00
[CST] Focus
0dfd9d0a47 driver/framebuffer.cpp: paintBoxRel with solid fill for nevis 2013-01-18 15:48:13 +04:00
[CST] Bas
29e5a32e09 src/driver/framebuffer.cpp: don't use 2d accelerator for small lines, fall-back to s/w. 2013-01-18 19:15:12 +08:00