Commit Graph

2235 Commits

Author SHA1 Message Date
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
Boris Faure 3fddb77208
win: constify background_set_shine() 2020-10-17 23:43:09 +02:00
Boris Faure 09cd15a1e0
theme: make config_theme_path_default_get() private 2020-10-17 23:43:09 +02:00
Boris Faure 2e266906f0
Merge branch 'terminology-1.8' 2020-10-17 17:05:53 +02:00
Boris Faure 28d94caad9
win: cleanup focus. Closes T8756 2020-10-17 17:03:56 +02:00
Boris Faure d669fbcfa5
options_themepv: shorten magenta to see a bit more white 2020-10-15 22:48:49 +02:00
Boris Faure 898351be8f
colors: dup default_colorscheme
so that all elements from color_scheme_list() have to be freed
2020-10-11 23:35:11 +02:00
Boris Faure b04510bae5
colors: avoid dereference after null check. CID1433233 2020-10-11 15:05:15 +02:00
Boris Faure 75bbf1e3e2
termptyesc: simplify code. CID1431130 2020-10-11 15:02:59 +02:00
Boris Faure c99069947a
colors: add color_scheme_list() 2020-10-10 19:38:36 +02:00
Boris Faure e90202923d
colors: use color scheme from file (only for Nord) 2020-10-06 18:50:16 +02:00
Boris Faure 485c4239ed
colors: remove debug line 2020-09-27 17:44:23 +02:00
Boris Faure a1d4f5ea6d
colors: load it from files 2020-09-21 23:15:46 +02:00
Boris Faure 2243d8aac2
colors: add default colorscheme 2020-09-21 23:15:46 +02:00
Boris Faure 7e1a444e0f
main: add missing parenthese 2020-09-17 21:45:07 +02:00
Boris Faure e3bc37ec37
options_behavior: improve translation 2020-09-16 23:41:50 +02:00
Boris Faure b7bf2cb8f2
improve translation strings
mostly by remove extra dots
2020-09-15 21:46:22 +02:00
Boris Faure 1cf29feb2f
Merge branch 'terminology-1.8' 2020-09-12 17:44:57 +02:00
Boris Faure a05db78239
termpty: make provided title as forced title 2020-09-12 17:43:16 +02:00
Boris Faure 423ad1f52c
color schemes: add eet-related code 2020-09-10 23:47:10 +02:00
Boris Faure b1bdf50671
config: rename Config_Color type to Color + reorganise eet setup 2020-09-09 21:32:29 +02:00
Boris Faure ff9b4aacc5
config: eet_data_descriptor_free accepts NULL 2020-09-08 23:10:46 +02:00
Boris Faure 6b93176f92
Merge branch 'terminology-1.8' 2020-09-07 21:19:09 +02:00
Boris Faure c2bb4dcf81
win: focus new split. Closes T8804 2020-09-07 21:18:03 +02:00
Boris Faure c17f3a6f26
colors.h: change name of header guard 2020-09-06 22:40:28 +02:00
Boris Faure 8cb6be667a
color schemes: proof of work on colorschemes with the nord theme 2020-09-01 19:11:34 +02:00
Boris Faure cc552d7ea5
win: make code more "as usual" 2020-09-01 19:08:52 +02:00
Boris Faure 84a46280f6
private.h: add static_strequal() 2020-09-01 19:00:30 +02:00
Boris Faure 12963c304c
Merge remote-tracking branch 'origin/terminology-1.8' 2020-08-29 18:40:32 +02:00
Boris Faure 214c72eb0c
win: use theme_apply_elm on elm_layout 2020-08-29 18:38:11 +02:00
Boris Faure 7dad6d46ac
keyin: rename macro to improve readability 2020-08-24 18:55:39 +02:00
Boris Faure dbba452a8b
cleanup src/bin/colors.h 2020-08-20 16:23:19 +02:00
Boris Faure 19fb6afd73
mv src/bin/col.{c,h} src/bin/colors.{c,h} 2020-08-20 16:21:51 +02:00