Thilo Graf
2990bd4e34
CIMDB: add imdb icon
2018-04-28 08:54:26 +02:00
Thilo Graf
e4cd53bc90
widget/menue.cpp: avoid paint of toggle buttons with more than 2 opts
2018-04-28 08:54:26 +02:00
Thilo Graf
e931932800
src/gui/test_menu.cpp: doc corrected
2018-04-28 08:54:26 +02:00
Thilo Graf
cf5c38fe83
src/gui/widget/msgbox.cpp: add missing handling of RC_home message
...
Required in case of usage without explicit undefined home button.
2018-04-28 08:54:26 +02:00
svenhoefer
61b4bbeb51
- icons: rename important.png => marker_warning.png because it doesn't signalize important stuff, but warnings
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-04-14 00:04:41 +02:00
Thilo Graf
ee0f90d083
Icons: change check markers, rename to dialog on/off, add update marker
2018-04-11 17:07:19 +02:00
Thilo Graf
3301be5484
menu: add optional usage of toggle buttons to visualze options
2018-04-11 17:03:11 +02:00
Thilo Graf
ef4ba9847e
::getValue(void): remove multiple declared members
...
Already inherited from CMenuTarget
2018-04-11 17:03:11 +02:00
Thilo Graf
2162aa6970
colorchooser.cpp/h: add separate init method
...
If color setup having already been used and after that user has done changed some other settings (e.g. font settings), graphical errors or crashes are possible.
The relocation of the initialization should prevent this.
2018-04-11 15:58:19 +02:00
Thilo Graf
3007c27469
Color setup: add button bar
2018-04-11 15:58:19 +02:00
Thilo Graf
712d7f9672
CColorChooser: fine tune position of color rate
2018-04-11 15:58:19 +02:00
Thilo Graf
ade8e13336
Color setup: Show color number in preview.
2018-04-11 15:58:19 +02:00
Thilo Graf
c574c48b4f
Color setup: align to general window composition
...
- add home context button and icon
- width increased
2018-04-11 15:58:19 +02:00
Thilo Graf
1ca349373a
CColorChooser: use unified variable vor window font
2018-04-11 15:58:19 +02:00
Thilo Graf
e4bc3a3e20
color setup: Visualize color rate
2018-04-11 15:58:19 +02:00
Thilo Graf
86e9f742e6
src/gui/widget/menue.h: fix possible compile error with older compliers
...
avoids possible error with extended initializer lists,
only available with -std=c++11 or -std=gnu++11
supplement to:
'CMenuOptionNumberChooser: expand localize functionality for any number'
2018-04-05 16:34:05 +02:00
Thilo Graf
fdbddce9dd
CMenuOptionNumberChooser: expand localize functionality for any number
2018-04-04 15:28:57 +02:00
Thilo Graf
8963ba6f1e
src/gui/widget/menue_target.h: ensure init of valueStringTmp
2018-03-22 21:10:49 +01:00
Thilo Graf
d04c0d09e2
widget/menue.cpp: use larger version of dummy button
2018-03-12 20:14:32 +01:00
svenhoefer
a0f96abbb9
- icons: add icon for timer button
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-03-09 06:35:46 +01:00
Stefan Seyfried
799061e3f6
yaft: revert to buffer offset calculation for blit2FB
...
the implementation of the xp/yp handling in blit2FB is different on
different architectures, and the semantics are unclear, so just
calculate a buffer offset instead and use yp=0
2018-02-20 21:48:57 +01:00
Stefan Seyfried
26e4ad4379
yaft: fix off-by-one in blit area calculation
2018-02-19 17:49:41 +01:00
Stefan Seyfried
5ed4057533
yaft: reset signal handler after terminal exit
2018-02-19 17:49:41 +01:00
svenhoefer
c0b433c83d
- yaft: allow new shell.ttf in yaft-widget too
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-01-30 09:24:49 +01:00
Stefan Seyfried
4680503a0e
yaft: initialize unused variables for valgrind silence ;)
2018-01-28 21:32:41 +01:00
Stefan Seyfried
0de6755cb2
yaft: optimize blit2FB call for partial blit
2018-01-28 21:32:39 +01:00
Stefan Seyfried
22a2356b84
yaft: make font rendering more reliable
...
at least with older freetype versions, font widths are not reported
reliably, so use a better way to determine the width and use a bigger
painting box for the fontrenderer so it does not skip rendering for
space reasons
2018-01-28 21:32:37 +01:00
Stefan Seyfried
fddf9ec308
yaft: make "CSI ?1c" response linux console compatible
2018-01-28 21:32:31 +01:00
Stefan Seyfried
2213cb1448
yaft: optimize for paint == false case
2018-01-28 21:32:29 +01:00
Stefan Seyfried
bdb09c2a95
yaft: refactor term_init() into init() function
2018-01-28 21:32:27 +01:00
Stefan Seyfried
de95855ef3
yaft: remove unused DCS code artifacts
2018-01-28 21:32:25 +01:00
Stefan Seyfried
6b14e13fea
yaft: remove unnecessary lines_available variable
2018-01-28 21:32:23 +01:00
Stefan Seyfried
4ee09e175d
yaft: use neutrino font renderer
2018-01-28 21:32:20 +01:00
Stefan Seyfried
dbf83a85f2
yaft: improve newline detection
2018-01-28 21:32:18 +01:00
Stefan Seyfried
8adead92e1
yaft: remove support for double-width characters
...
for our usecase (output of system commands), this is not necessary
2018-01-28 21:32:16 +01:00
svenhoefer
97d349872a
- neutrinofonts: allow monospaced font for shellwindow widget
...
Font is initialized at runtime and uses FONTDIR_VAR "/shell.ttf" or FONTDIR "/shell.ttf"
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-01-27 16:16:00 +01:00
Stefan Seyfried
fe6b7b588f
yaft: remove unused files
...
Conflicts:
src/gui/widget/yaft/tools/bdf.h
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-01-27 16:15:58 +01:00
Stefan Seyfried
d2f6f7a359
yaft: use c++ YaFT_p implementation in yaft_class
2018-01-27 16:15:55 +01:00
Stefan Seyfried
145b03eab6
yaft: actually build yaft_priv class
2018-01-27 16:15:52 +01:00
Stefan Seyfried
6f821d04cb
yaft: convert into c++ class
2018-01-27 16:15:50 +01:00
Stefan Seyfried
2551dfd994
yaft: remove unnecessary cfb struct member
2018-01-27 16:15:48 +01:00
Stefan Seyfried
5598cd50aa
yaft: add a second font for low-resolution displays
...
TODO: instead of statically defining the characters, freetype should be
used for rendering
2018-01-27 16:15:45 +01:00
Stefan Seyfried
7a824ccd50
yaft: simplify pointer arithmetics
2018-01-27 16:15:43 +01:00
Thilo Graf
c18613500a
src/gui/widget/navibar.cpp/h: fix icon scale
...
Remove CComponentsPictureScalable class, is not longer required.
Scale for navi button icons should working now.
Note:
It is not sure if the setting of OFFSET_INNER_MID makes sense here,
because it is possible that a scaling could happen even though
the icon would be fit.
2018-01-23 17:34:26 +01:00
Jacek Jendrzej
044e3c7766
yaft/tools/bdf.h fix resource leak
2018-01-23 15:47:20 +01:00
svenhoefer
c1697a1ddb
- shellwindow: fix position of button; use default color
...
* add comment to termwindow class; correct positioning of button isn't possible atm
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-01-21 17:04:00 +01:00
Jacek Jendrzej
4274b95c45
fix posible memleak
2018-01-15 19:37:45 +01:00
Stefan Seyfried
903e19d9a0
add working termwindow class
...
CTermWindow() should be usable as drop-in replacement for CShellWindow()
2018-01-13 20:09:04 +01:00
Stefan Seyfried
bbc0d9ab68
configure: enable YaFT widget build
2018-01-13 20:09:00 +01:00
Stefan Seyfried
14cd7c83b0
yaft: use TERM=linux, disable unused code
2018-01-13 20:08:55 +01:00