Commit Graph

303 Commits

Author SHA1 Message Date
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 292215d770
vin: remove unused variable 2020-11-16 13:08:56 +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 962c99f3e2
colors: have 4 blocks: normal, bright, faint and bright+faint 2020-11-03 23:31:09 +01: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 3fddb77208
win: constify background_set_shine() 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 b7bf2cb8f2
improve translation strings
mostly by remove extra dots
2020-09-15 21:46:22 +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 cc552d7ea5
win: make code more "as usual" 2020-09-01 19:08:52 +02:00
Boris Faure 214c72eb0c
win: use theme_apply_elm on elm_layout 2020-08-29 18:38:11 +02:00
Boris Faure df6b013895
win/options_mouse: apply mouse timer change to current terms
(cherry picked from commit d082b0d6d7)
2020-08-10 22:43:34 +02:00
Boris Faure 5df92ee2ac
Fix typo
Summary: Fix typo on "preferred"

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D12028
2020-06-24 22:50:48 +02:00
Boris Faure 8c88c876cd
Merge branch 'terminology-1.7' 2020-06-23 22:39:46 +02:00
Boris Faure 157d65e7ec
win: reorder calls to please _focus_validator() 2020-06-23 22:38:28 +02:00
Boris Faure ab35c9b7dd
mv utils.{c,h} theme.{c,h} 2020-06-23 12:48:27 +02:00
Boris Faure 30b74f84f3
win: better handle initial focus when creating splits
Closes T8756
2020-06-21 23:46:22 +02:00
Boris Faure ec344090aa
scale wizard: word-wrap the labels 2020-05-19 23:41:39 +02:00
Boris Faure 1d5eee0e60
focus validator: be less strict when changing tabs
Closes T8722
2020-05-16 19:07:28 +02:00
Boris Faure 286e2ebb59
win: on startup, force a window to be considered as focused 2020-04-29 22:54:50 +02:00
Boris Faure f3bf486777
win: handle early case when no child is present 2020-04-29 22:53:02 +02:00
Boris Faure 225b14a54f
win: hide tab bar when restoring the last term 2020-04-16 19:35:19 +02:00
Boris Faure 27f062ff1a
win: reswallow content when it's the only one left 2020-04-16 19:30:27 +02:00
Boris Faure 25496f6689
win: remove hand cursor when drag stops 2020-04-16 19:29:34 +02:00
Boris Faure 338b2c1865
win: fix rollback split + add debug 2020-04-16 17:16:18 +02:00
Boris Faure 985e0b56c5
win: put drag icon under the mouse 2020-04-15 22:52:31 +02:00
Boris Faure 472cfbcff4
win: remove some debug 2020-04-15 22:12:51 +02:00
Boris Faure 7ce4416311
win: save split position when dragging tab 2020-04-14 23:40:08 +02:00
Boris Faure 0d5a796703
win: fix focus display when focusing in/out and grouped input 2020-04-14 22:51:14 +02:00
Boris Faure cdcc6be05e
show grouped input on inactive tabs 2020-04-14 22:06:53 +02:00
Boris Faure 826801b607
group input: show it on active tabs 2020-04-13 20:30:51 +02:00
Boris Faure 537af736e8
win: constify 2020-04-11 10:01:13 +02:00
Boris Faure 210ec3b408
win: add win_has_single_child() 2020-04-11 09:55:52 +02:00
Boris Faure df9700c8a5
win: add win_evas_object_to_win() 2020-04-11 09:50:38 +02:00
Boris Faure b9f3c7bf05
win: don't resize to 0 + remove useless callback 2020-04-11 00:31:04 +02:00
Boris Faure 4c9091c9c6
controls: avoid uses after free
CID1422109
CID1422110
CID1422111
2020-04-06 23:11:10 +02:00
Boris Faure 6411f119ce
win: no need to check wn->config. Closes CID1422298 2020-04-06 22:59:26 +02:00
Boris Faure 0eac2752d3
win: don't call elm_win_alpha_set() too many times 2020-04-06 21:58:21 +02:00
Boris Faure 0fb87e2756
win: use edje_object_message_send on edj part… 2020-04-06 00:53:34 +02:00
Boris Faure cbbfe60aae
config: share translucent+opacity settings accross instances 2020-04-05 23:20:11 +02:00
Boris Faure 5d2e0479b9
win: simplify focus handling when dropping tab to split 2020-03-30 22:30:10 +02:00
Boris Faure 5c85b8c624
win: _focus_validator() saves focused tc + add debug 2020-03-30 22:30:10 +02:00
Boris Faure d267b57fb1
win: unfocus from correct parent + add focus checks 2020-03-29 13:34:59 +02:00
Boris Faure 6b9a9d680f
win: ensure clear state when recreating tabs 2020-03-28 22:08:19 +01:00
Boris Faure 7eba4c97e0
drag: add animation when dragging tab over other tabs 2020-03-26 22:00:31 +01:00
Boris Faure 7c857b211e
win: show hand cursor when dragging tab 2020-03-26 22:00:31 +01:00
Boris Faure 5a2e394c36
tab drag: have a thumbnail of the tab 2020-03-26 22:00:30 +01:00
Boris Faure 1ca9c13ace
win: add _focus_validator() to help debug focus issues 2020-03-26 22:00:30 +01:00