Commit Graph

2267 Commits

Author SHA1 Message Date
Boris Faure 1fe87a4b2c
termio/win: use Elementary_Cursor.h 2020-11-29 15:27:34 +01:00
Boris Faure 84905e62e9
options_themepv: do not use terminology/background for color scheme preview
use a dedicated group, lighter
2020-11-28 16:55:20 +01:00
Boris Faure d8294d3cfa
options_themepv: clean things up 2020-11-28 13:08:25 +01:00
Boris Faure 71f54ad7d6
theme: ensure group exists in file before using it 2020-11-26 22:50:37 +01:00
Boris Faure 0e4ea771cc
tyls: do not force extension 2020-11-25 22:04:52 +01:00
Boris Faure 7f3bfab6d6
options_themepv: ease CPU usage, do not blink the cursor 2020-11-25 21:45:06 +01:00
Carsten Haitzler d9a5832bd6 font sizing - listen to elm config change events and re-apply font size
re-applying font size (setting it) will take int account any new scale
value that may be set. this allows elementary_config or any config
tool that is updating config to change scaling and terminology
properly adapts. elementary itself for all widgets already takes care
of its own gui elements, but since the terminal grid is a custom thing
for terminology - it is responsible for doing this itself. now it
does.

@feat
2020-11-24 09:18:52 +00:00
Boris Faure a416458ca9
options_theme: ensure the selected theme is the right one
was not the case when explicitly setting them from command line
2020-11-22 20:42:58 +01:00
Boris Faure 2669cc5780
colors: list user-stored color schemes 2020-11-22 19:40:58 +01:00
Boris Faure 43d1a681df
themes: use HIGHLIGHT instead of SHINE color class 2020-11-18 00:13:13 +01:00
Boris Faure 7469037003
themes: use only HIGHLIGHT
instead of CURSOR_HIGHLIGHT and GLOW_HIGHLIGHT
2020-11-17 23:20:15 +01:00
Carsten Haitzler d9e63b3d3d color schemes - dont crash when duplication a NULL scheme - use default 2020-11-16 19:46:47 +00:00
Boris Faure 292215d770
vin: remove unused variable 2020-11-16 13:08:56 +01:00
Boris Faure 7a16744778
tytest: makes more sense (to me) to check len 2020-11-15 20:19:21 +01:00
Boris Faure 9a5f13b12b
colors: no longer set all those "c%d" color classes
just use color schemes
2020-11-15 20:18:37 +01:00
Boris Faure a29e7a718a
termptyesc: _handle_xterm_set_color_class() gets obj==NULL in tests
+ simplify _handle_xterm_10_command()
2020-11-15 20:10:43 +01:00
Boris Faure 05b95705ae
termptyesc: export termptyesc_safechar() 2020-11-15 13:48:20 +01:00
Boris Faure 76687b2ea2
tytest: those functions must return Eina_Bool 2020-11-15 13:42:25 +01:00
Boris Faure 7881e66b98
color class: ensure operations work 2020-11-15 12:27:40 +01:00
Boris Faure 11abaaa0b4
termio/termptyesc: clean up mess with color classes 2020-11-15 00:15:10 +01:00
Boris Faure 5b186b69a3
colors: show error in case applying NULL color scheme 2020-11-15 00:13:25 +01:00
Boris Faure f0404cd5fd
termptyesc: handle xterm 12 to change cursor color 2020-11-14 23:32:41 +01:00
Boris Faure 049af922e2
termio: remove useless variable 2020-11-14 22:47:07 +01:00
Boris Faure 38e72737ca
main: reorganize options 2020-11-14 22:32:22 +01:00
Boris Faure 5b3cd9149c
config: ensure config->colorscheme is set. Closes T8855 2020-11-14 22:16:35 +01:00
Boris Faure c2cd0035e4
test malloc/calloc's return. Fix CID1436182 2020-11-11 23:08:22 +01:00
Boris Faure 7465f46a9f
utils: add open_url() to avoid code duplication 2020-11-11 22:51:51 +01:00
Boris Faure 6122b12e4f
options_colors: add ctx popup to go to color scheme's website 2020-11-11 21:27:44 +01:00
Boris Faure aa63957dfc
options_colors: add tooltip on color scheme preview 2020-11-11 21:27:44 +01:00
Boris Faure e96347d153
colors: there are 4 color sets… 2020-11-11 19:01:06 +01:00
Boris Faure 5e3c8bfd83
config: upgrade to set color schemes 2020-11-10 00:04:27 +01:00
Boris Faure 0a85423759
main: add --colorscheme 2020-11-09 22:26:23 +01:00
Boris Faure 7bb1639260
options_colors: be able to select color scheme 2020-11-04 23:17:32 +01:00
Boris Faure 17246e5d84
config: add color_scheme
TODO: set it from current theme
2020-11-04 23:14:33 +01:00
Boris Faure 005806470a
colors: add color_scheme_dup() 2020-11-04 23:13:43 +01:00
Boris Faure 465a894a2e
options_color: rewrite to display color schemes 2020-11-03 23:33:42 +01:00
Boris Faure ac1bc02293
options_themepv: add color mode 2020-11-03 23:33:01 +01:00
Boris Faure 962c99f3e2
colors: have 4 blocks: normal, bright, faint and bright+faint 2020-11-03 23:31:09 +01:00
Boris Faure dfe5d28b7d
colors: have a simpler structure for normal/bright/faint 2020-11-03 23:31:08 +01:00
Boris Faure a46ca7ce34
options_themepv: remove unused macro 2020-11-03 23:13:32 +01:00
Boris Faure b77a2c3c95
termio: add termio_character_size_get() 2020-11-03 23:06:47 +01:00
Boris Faure c1e82b90b3
config: set xterm_256color as default
This is still configurable and is nowadays, widely accepted.
2020-10-29 21:13:12 +01:00
Boris Faure 0c25e408d6
termiointernals: add comment about using bright but not bold 2020-10-27 23:52:02 +01:00
Boris Faure 6ff8b36a23
colors: do not use bold/bright and faint/dim at the same time
In that case: use the bold font weight if available and the faint color
2020-10-27 23:52:02 +01:00
Boris Faure 4b15e30b68
colors: oops 2020-10-26 21:39:31 +01:00
Boris Faure 0ea7705195
options_themepv: add color scheme option 2020-10-20 22:35:02 +02:00
Boris Faure 1f6bfe3323
theme: use theme_file if provided
Fixed theme ui
2020-10-18 23:16:36 +02:00
Boris Faure 93da3f87b7
theme: have only one theme_apply function
No more one about theming an elm_layout, nor using only the default theme.
Also, be able to chose which color scheme to use
2020-10-18 22:35:27 +02:00
Boris Faure 458f9a6da6
theme: add theme_path_default_get() 2020-10-17 23:49:33 +02:00
Boris Faure 886bce509f
colors: make color_scheme_apply() public 2020-10-17 23:43:09 +02:00