Commit Graph

893 Commits

Author SHA1 Message Date
Thilo Graf
969e2fe600 CHintBox: add doc with doxygen tags 2016-10-24 10:31:28 +02:00
Thilo Graf
6580c5a54a CHintBox: ensure remove timeout bar from screen if hintbox object is closed
Timeout bar is not embedded like other cc items in  this form, therefor is
is better to kill this object explicit from screen otherwise it is possible
we hab artefacts after closing of hintbox window.
2016-10-24 10:31:28 +02:00
Thilo Graf
2952dcc124 CHintBox: fix text mode pass
Rquired in inherited classes
2016-10-24 10:31:28 +02:00
Thilo Graf
4ff7bd8f7e CHintBox: visualize timeoutbar with smooth progress 2016-10-24 10:31:28 +02:00
Thilo Graf
3280b44471 CMsgBox: ensure reset of progress value on used key 2016-10-24 10:31:27 +02:00
Thilo Graf
d50ef787a2 CMsgBox: enlarge footer height
Buttons has too small offset to bottom of footer.
Framed and shaded buttons are arranged on the top of footer, so
we have a larger offset.
2016-10-24 10:31:27 +02:00
Thilo Graf
c035b2fc15 CHintBox: add space for timeout bar 2016-10-24 10:31:27 +02:00
Thilo Graf
cb3699deb5 CHintbox/CMsgBox: add vizualized timeout bar 2016-10-24 10:31:27 +02:00
Thilo Graf
b9d44a3fc8 CHintbox: use default text frame depends from default height and width 2016-10-24 10:31:27 +02:00
Thilo Graf
8579758884 Helpbox: fix possible transparent holes behind images 2016-10-24 10:31:27 +02:00
Thilo Graf
3221b7467e Helpbox: use auto sized width for footer button 2016-10-24 10:31:27 +02:00
Thilo Graf
bd57627b8f Helpbox: use current shadow color 2016-10-24 10:31:27 +02:00
Thilo Graf
3b60a55f59 CHintBox: reduce window size for used auto size depends on text content 2016-10-24 10:31:26 +02:00
Thilo Graf
857b494c47 CMsgBox: use same colors for window body, footer and button container 2016-10-24 10:31:26 +02:00
Thilo Graf
3e01cbe1ac CMsgBox: set some alternate keys to default key values 2016-10-24 10:31:26 +02:00
Thilo Graf
b272c407d7 CMsgBox: add colors to debug output 2016-10-24 10:31:25 +02:00
Thilo Graf
2e631fd0ce Try to rework footer
* try to fix enableButtonShadow(), seems an init is missing
* shadow fixed
2016-10-24 10:31:25 +02:00
Thilo Graf
a17d61de8c Shadow: try to optimize shadow areas
* cleanup inner part of box on round corners, frames considered
* adopt implementations in some gui classes
* some debug lines removed
* test menu adopted
* try to fix corner caluculation to avoid transparent holes
2016-10-24 10:31:25 +02:00
Thilo Graf
3477e28cd7 CComponentsItem: fix changeing color on select switching of frames
expand select mode methodes with paremters for frame properties
This should make variables col_frame_sel and fr_thickness_sel superfluous.
2016-10-24 10:31:25 +02:00
Thilo Graf
be740c1552 CMsgBox: add option to enable/disable button background
replaces var name btn_contour for better plausibility
2016-10-24 10:31:24 +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
957b1e05df - various: use DARK text color on DARK background 2016-10-19 14:35:38 +02:00
svenhoefer
870981c889 - menue: fix listModeKey handling 2016-10-19 14:06:24 +02:00
svenhoefer
bd2f2cb849 - listframe/moviebrowser: use getItemColors function 2016-10-19 13:21:58 +02:00
svenhoefer
91c668efca - listframe: replace some color defines with original defines 2016-10-19 13:21:58 +02:00
svenhoefer
d6c85e14cc - listbox: use getItemColors function 2016-10-19 13:21:58 +02:00
svenhoefer
54b2a6da91 - stringinput_ext: use getItemColors function 2016-10-19 10:06:36 +02:00
svenhoefer
7cdb8a0425 - stringinput: use getItemColors function 2016-10-19 10:06:36 +02:00
svenhoefer
a5c9602e4b - keyboard_input: use getItemColors function 2016-10-19 10:06:36 +02:00
svenhoefer
c074f1365f - textbox: fix text position in mode CENTER and mode RIGHT; ...
and add VISUAL_DEBUG define. That paints beautiful colored boxes
to see what's going on.
2016-10-13 19:07:22 +02:00
svenhoefer
af7643a285 - textbox: use OFFSET defines 2016-10-13 15:12:52 +02:00
svenhoefer
104d21e784 - rename customcolor.h -> color_custom.h; reduce unneeded inludes 2016-10-10 14:19:55 +02:00
svenhoefer
98500fdeb6 - add and use OFFSET_INTER definition 2016-10-10 14:19:55 +02:00
svenhoefer
5d450c60d3 - rename SHADOW_OFFSET -> OFFSET_SHADOW 2016-10-10 14:19:55 +02:00
vanhofen
be40e67b70 - colors: add COL_PROGRESSBAR wrapper 2016-10-10 14:19:55 +02:00
vanhofen
06e7d1b952 - keyboard_input: fix shadow color 2016-10-10 14:19:55 +02:00
vanhofen
e65a7dfdd5 - stringinput: fix shadow color 2016-10-10 14:19:55 +02:00
vanhofen
6629b64d6c - colors: add COL_SCROLLBAR_PASSIVE wrapper 2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1 - colors: add COL_SCROLLBAR_ACTIVE wrapper 2016-10-10 14:19:54 +02:00
svenhoefer
75fe6e407d - colors: add COL_FRAME wrapper 2016-10-10 14:19:54 +02:00
Thilo Graf
264366c792 CMenuItem: use reasonable radius
In some views the large radius looks too chunky.
2016-09-24 20:59:49 +02:00
TangoCash
bf770e9a68 - messagebox: fix navigation in buttons if just one button is present (thx dbo) 2016-09-12 13:27:46 +02:00
svenhoefer
974ef11d5b - detailsline: remove unneeded position/dimension additions 2016-09-12 12:11:04 +02:00
svenhoefer
2911e638c7 - add listModeKey() function to simplify these calls 2016-09-09 10:42:46 +02:00
Thilo Graf
41ed6513bd CMenuWidget: assign all layer colors out of header init
This fixes missing applying of possible changes of
colour settings in color setup for frame.
2016-08-22 21:16:58 +02:00
Jacek Jendrzej
a29f433ded src/gui/widget/menue.cpp check if pointer is not NULL 2016-08-17 17:23:08 +02:00
Thilo Graf
1306a7c1a3 CMenuWidget: adopt shadow color to newer color macros 2016-08-17 10:55:12 +02:00
svenhoefer
54f2ac510f - fonts: add and use own font for all footers 2016-08-15 19:02:42 +02:00
Jacek Jendrzej
c9b5470a47 src/gui/widget/textbox.cpp try to fix paint sidebar 2016-08-15 15:49:04 +02:00