Thilo Graf
8df2710be7
cc_frm: add global mutex for cc forms
2020-01-05 21:17:59 +01:00
Thilo Graf
7f2c9ca41b
cc_frm/cc_item_text: use mutexes in some members
...
Watched some problems with thredead parts in some
window objects (e.g. messageboxes, clock ...) thx satbaby for some hints
and testings
2019-10-27 16:24:47 +01:00
Thilo Graf
969644c39a
cc_frm: us at member inside addCCItem() for more safety
2019-10-27 16:24:47 +01:00
Thilo Graf
d86dcd36a7
components: use const bool& parameter in paint methodes
2019-10-27 16:24:47 +01:00
Thilo Graf
7783b755d0
cc_frm.cpp: use 'vector::at' function for more safety
2019-10-27 16:24:47 +01:00
Thilo Graf
14a3844c57
cc_frm.cpp: add missing call for hide()
...
Required if we have saved buffer.
2019-04-11 11:26:39 +02:00
Thilo Graf
e2b34efc88
cc_frm.cpp: add missing condition within paint methode
...
Shadow was unpainted with shadow_force
2018-10-28 19:41:22 +01:00
Stefan Seyfried
405d77565d
cc_frm: fix paintCCItems() y position calculation
2018-02-19 17:49:41 +01:00
Thilo Graf
64d5101be0
data types: use unified type name uint8_t instead u_int8_t
2018-01-20 17:42:31 +01:00
Thilo Graf
38219bf391
CComponentsForm: expand debug output to identify current used container
2018-01-04 13:45:45 +01:00
Thilo Graf
fb5c943db4
cc: expand cc-type with name
...
Required for internal operations where it is useful to have object
names and for better debugging.
2017-12-30 22:58:15 +01:00
Thilo Graf
94517d3404
src/gui/components/cc_frm_window.cpp: fix too small left bottom corner
...
radius is allready calculatetd in base class src/gui/components/cc_frm.cpp
in member CComponentsForm::paintCCItems()
NOTE:
It seems the radius calculation inside framebuffer don't working correct
for corners on the right site on top and bottom.
Seen on hd51 hardware on osd-boxes with shadow
(e.g. infobar) or Boxes with frames e.g. on error message windows, buttons.
There are pixel errors like minimal holes on osd or displaced pixels.
On CST hardware evreything is ok.
2017-11-19 21:12:42 +01:00
Jacek Jendrzej
23797d29c0
Merge branch 'master' into pu/mp
2017-08-29 11:26:54 +02:00
Thilo Graf
fe6a24351b
cc_frm.cpp, cc_frm_button.cpp: remove unread stored variables
2017-08-28 12:16:45 +02:00
Jacek Jendrzej
1763bb9e64
Merge branch 'master' into pu/mp
2017-08-08 20:06:40 +02:00
Thilo Graf
67a71d5e4e
CComponentsForm: add functions to get used or free space of form dimensions
2017-08-08 14:25:12 +02:00
Thilo Graf
a4af92d219
CComponentsForm: add methods to get previous and next item
2017-08-08 14:25:12 +02:00
Jacek Jendrzej
4c3002cb26
Merge branch 'master' into pu/mp
2017-06-15 12:32:31 +02:00
Thilo Graf
0066430b77
CComponentsForm: remove extra item declaration
...
Remove instances from vector only for sure.
2017-06-15 01:01:54 +02:00
Jacek Jendrzej
4ae57d1567
Merge branch 'master' into pu/mp
2017-05-02 22:35:18 +02:00
Thilo Graf
801d1beb10
CComponentsForm: expand debug output with address.
2017-05-02 21:07:56 +02:00
Thilo Graf
e7d60f7c08
CComponentsForm: use current bg save mode while paint items
...
Mode was always false but current mode could be required in
many constellations.
2017-05-02 21:07:45 +02:00
Jacek Jendrzej
0ef6e3fe98
Merge branch 'master' into pu/mp
2017-04-27 14:27:27 +02:00
Thilo Graf
19fc8c6d3b
CComponentsForm: add member hideCCItems()
...
In case of items with cached background it is useful to have
possibility to restore their background. (eg. items are painted
outside of form).
2017-04-27 09:27:45 +02:00
svenhoefer
11a28c07d6
Merge branch 'master' into pu/mp
2017-04-19 21:35:56 +02:00
Thilo Graf
0e94c6830b
CComponentsForm: use global default width for scrollbar
2017-04-17 17:43:55 +02:00
Thilo Graf
9ac706b86c
CComponentsForm: try to fix fit items inside forms
...
Some items had offsets on screen. Was seen eg. in message windows.
2017-04-17 15:18:22 +02:00
Stefan Seyfried
8b47699447
Merge remote-tracking branch 'tuxbox/master'
2017-02-11 11:18:45 +01:00
Thilo Graf
06fa3f2488
CComponentsForm: move slots into base classes
...
Usable for all form classes
2017-02-07 17:12:25 +01:00
Thilo Graf
1c217b404f
Forms/header/clock: implement slot into OnBeforeRePaint
2017-02-02 11:18:27 +01:00
Stefan Seyfried
7497722646
Merge remote-tracking branch 'tuxbox/master'
2017-02-01 22:03:40 +01:00
Thilo Graf
31146bd9af
CComponentsForm: remove debug spam
2017-01-31 16:36:42 +01:00
Thilo Graf
5c8aa90e01
CComponentsForm: add some usefull slots/signal to help paint backgrounds
...
Requried to paint form items only on changed contents and on repaint
2017-01-31 16:36:41 +01:00
Thilo Graf
26eb4d079b
Experimental try to rework isPainted()
2017-01-31 16:36:41 +01:00
Stefan Seyfried
a409047714
Merge remote-tracking branch 'tuxbox/master'
2017-01-22 22:59:39 +01:00
svenhoefer
b46a35cdf4
- cc_frm: avoid artificially offsets
2016-12-16 09:03:07 +01:00
TangoCash
0c4c90bf2e
cc_frm correct scroll direction if more than 2 pages (thx dbo)
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
picked from:
github.com/TangoCash/neutrino-mp-cst-next
commit:
abce1c6be4bae17f343d3ff878670184708aa185
2016-12-06 11:34:59 +01:00
Stefan Seyfried
c6d7968381
Merge remote-tracking branch 'tuxbox/master'
2016-12-04 18:02:51 +01:00
Thilo Graf
edd2e48bbe
CComponentsForm: try to fix possible transparent bars
...
Ion enabled frame it's possible we have transparent bars
between frame and the last item on window bottom. This should avoid this.
2016-10-24 10:31:27 +02:00
Thilo Graf
375451f0a6
CComponentsForm: add parameters to setSelectedItem() methode
...
Were not passed to items
2016-10-24 10:31:25 +02:00
Thilo Graf
dde298b1b7
CMsgBox: rework msgbox classes with Window class implementation
...
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.
TODO: fix and optimize details
2016-10-24 10:31:24 +02:00
Stefan Seyfried
13ab1ebc8a
Merge remote-tracking branch 'tuxbox/master'
...
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
svenhoefer
5d450c60d3
- rename SHADOW_OFFSET -> OFFSET_SHADOW
2016-10-10 14:19:55 +02:00
Stefan Seyfried
7d268c16b9
cc_frm: fix printf warning (this time for real ;)
2016-01-01 20:49:37 +01:00
Stefan Seyfried
9113716171
Merge remote-tracking branch 'uncool/cst-next'
2016-01-01 14:10:48 +01:00
Thilo Graf
888c575ef4
CComponentsForm: add return value to addCCItem()
...
return value = current id of added item
2015-12-28 17:58:46 +01:00
Stefan Seyfried
3e37715c86
fix debug output printf type warnings
2015-12-28 16:23:26 +01:00
Stefan Seyfried
b837d8697b
Merge remote-tracking branch 'uncool/cst-next'
2015-12-28 16:15:14 +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
Jacek Jendrzej
322b58a598
fix compil fix change 64 to 32
2015-12-27 13:58:32 +01:00