Commit Graph

59 Commits

Author SHA1 Message Date
Koichi Murase 2e5e0a5b67 *.{h,c}: do not use the C reserved identifiers for tag names 2022-03-07 07:45:57 +09:00
Alastair Poole 848cc27355 options_font: focus font search entry. 2021-03-08 13:54:09 +00:00
Boris Faure 083784b375
options_font: focus the filter entry 2020-12-09 23:07:30 +01:00
Boris Faure d483af6b88
options_font: make font search a bit more reliable 2020-12-01 21:44:43 +01:00
Boris Faure e21c07d114
options_font: the long awaited font search! 2020-12-01 21:10:06 +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 ab35c9b7dd
mv utils.{c,h} theme.{c,h} 2020-06-23 12:48:27 +02:00
Boris Faure 0b48853597
reduce scope of variables 2020-04-17 23:09:07 +02:00
Boris Faure 688a45dc15 Merge branch 'terminology-1.5'
Conflicts:
	src/bin/options_font.c
2019-10-17 00:11:13 +02:00
Boris Faure fd2212afd8 options_font: fix use after free 2019-10-17 00:05:57 +02:00
Boris Faure b8af21128e config: simplify API 2019-09-08 19:41:16 +02:00
Carsten Haitzler a1d9dba1d0 terminology efl version bump 1.8 to 1.20
efl 1.8 is ancient by now (december 2013 ... like over 4 years ago).
time to bump to 1.20, so any future releases of terminology will need
a bump in efl version too whicn IMHO is sensible.
2018-02-13 15:12:18 +09:00
Boris Faure 85ba744771 options_font: be able to have multiple instances 2018-01-12 23:27:19 +01:00
Boris Faure e7b3265662 font: update all terms to this window when changing font (size)
Closes T5012
Closes T5445
2017-07-14 22:10:54 +02:00
Boris Faure 76f1bf4342 prefix EINA_UNUSED parameters with an underscore
and fix related issues
2016-10-05 22:00:22 +02:00
Boris Faure d9276909a4 add option to enable bold/italic (on by default) 2016-03-18 20:04:10 +01:00
Boris Faure 8190ddd605 options_font: fix CID 1339833 2015-11-19 21:06:14 +01:00
Boris Faure 65d729ce32 font selector: use bg/fg for the preview from config/theme 2015-03-01 17:20:18 +01:00
Boris Faure 9538380861 make terminology compile with efl 1.7 2014-09-23 21:54:41 +02:00
Wonguk Jeong fcd67ce7a2 options: chagne step of font size slider from 2 to 1
Fixes T1675
2014-09-22 17:25:03 +02:00
Boris Faure 34979f1ce4 get rid of Eina_Bool in bitfields 2014-08-28 21:04:00 +02:00
Boris Faure 793f42daa5 gettextify options 2014-07-26 11:37:26 +02:00
wonguk.jeong 69c8824caf option_font: selected standard font bug fix
Summary:
Fallback of selected font finding logic is wrong.
As Is: set selcted font if full name is exactly same or just font name without style is same
To Be: find font which is exactly same full name. If failed to find, use find font with same font name

Fixes T1368

Test Plan: terminology -> set font in setting (as Dejavu Mono) -> open setting -> check whether font is Dejavu Mono or not

Reviewers: billiob, raster

Reviewed By: billiob

CC: seoz

Maniphest Tasks: T1368

Differential Revision: https://phab.enlightenment.org/D1076
2014-06-24 21:39:19 +02:00
Boris Faure 503dd08105 handle fonts with multiple names 2014-05-25 22:38:23 +02:00
Boris Faure a3e7a770bc improve font listing: be able to select style 2014-05-25 22:02:24 +02:00
Boris Faure 30392f23a9 s/__UNUSED__/EINA_UNUSED/g 2013-08-27 15:36:50 +02:00
Carsten Haitzler e401e87660 terminology can do multi instance now (in a single process). that
means 2 or 3 or more windows == same terminology process. there is a
checkbox to turn it on.

in theory it CAN do multipe terms within 1 windows, except there's
incomplete sizing logic code for hansling step sizing and min size
with multielp terms in the same window (imagine u laid them out in a
table grid... all we need is a table and pack n terms in and presto..
but the sizing will be "bizarre" at the moment)... if they are packed
on top of eachother like a notebook... sure - but no notebook widget
and no way to sensibly display and switch... but the code infra now
all supports it in theory. this is more about testing and making that
infra work. first will probably be a grid layout of some sort because
frankly... it's easier.

but for now... lets get this multi-instance fun on the table.



SVN revision: 81740
2012-12-27 11:20:32 +00:00
Carsten Haitzler 1982be3087 oops - return with boolean from timer cb.
SVN revision: 81679
2012-12-24 11:25:10 +00:00
Carsten Haitzler 7720a2e4f0 make fonts delay loaded .. with soem randomness so they dont batch all
at once...



SVN revision: 81658
2012-12-23 12:19:40 +00:00
Carsten Haitzler 2c18ec8ba2 revert! broke terminology build completely.
SVN revision: 78312
2012-10-22 02:12:55 +00:00
Flavio Vinicius Alvares Ceolin 0dcc9e2044 Using the edje_codegen to handle with the theme
Using the code generated to handle the parts of the
edj file. Trying to avoid mistakes with the parts names and
make the code more independent from the theme (the parts can
change the name since it maintaining the same api)



SVN revision: 78271
2012-10-19 22:04:01 +00:00
Carsten Haitzler fe227c4d63 have options not use so much horizontal space. :)
SVN revision: 76248
2012-09-06 15:19:33 +00:00
Carsten Haitzler a24f4ba16d split options inot more swallows in the terminology theme because this
is eventually how it needs to work as i wanted wallpaper and theme
stuff to totally see the terminology txt/bg like wp2 in e17. :)



SVN revision: 75941
2012-09-02 14:10:31 +00:00
Carsten Haitzler af8667a832 testing toolbar - figuring out why icon size set didnt work and also
added empty colros config pane, testing vertical toolbar scroll.



SVN revision: 75513
2012-08-22 03:12:40 +00:00
Carsten Haitzler 4fd2814c02 avoid size creep during font options changes by remembering size at
start and any "suspected" real resizing by the user.



SVN revision: 73156
2012-07-02 12:06:44 +00:00
Mike McCormack 00f7823b01 terminology: Clear out font config objects that have been destroyed too
SVN revision: 72737
2012-06-23 22:06:17 +00:00
Gustavo Sverzut Barbieri 2cd2514538 utils/theme: unify code, error messages and allow fallback.
Introduced two nice helpers to aid common Edje handling:
 * apply theme, using fallback if main is not found;
 * reload theme if file changed.



SVN revision: 72490
2012-06-19 15:59:49 +00:00
Carsten Haitzler 7666a1570b disable font size slider when selecting a bitmap.
SVN revision: 72475
2012-06-19 12:54:50 +00:00
Jihoon Kim f49c145869 terminology: add __UNUSED__ for unused parameter
SVN revision: 72431
2012-06-19 03:42:20 +00:00
Carsten Haitzler 464b2986ed fix file set for font preview to use config theme path return.
SVN revision: 72383
2012-06-18 11:07:05 +00:00
Carsten Haitzler 9568fb677f debugprintf-- - not needed anymore
SVN revision: 72378
2012-06-18 09:55:52 +00:00
Carsten Haitzler efb9cd7567 actually get elm scale config val and set on textgrid nd preview
objects.



SVN revision: 72367
2012-06-18 07:54:40 +00:00
Carsten Haitzler 4ea4ab4d32 use new item styles for genlist and make font preview wide.
SVN revision: 72366
2012-06-18 07:43:44 +00:00
Carsten Haitzler a97e4a8763 sorry gustavo -> font preview has gone back to how it was before. it
was bithc-slow on creation and its a shame to waste the spare icon
slot. i'll add a new style ot genlist in e17 to have ONLy a start or
end icon and then use that. the preview text entry i feel has dubious
use... lets discuss, but it doesnt belong in that dialog/pane.



SVN revision: 72335
2012-06-18 06:32:56 +00:00
Cedric BAIL fa397e90f6 terminology: reload theme when file change.
NOTE: use edje_watch to test the change to your own theme faster.


SVN revision: 72332
2012-06-18 02:56:58 +00:00
Gustavo Sverzut Barbieri d2321e4f65 improve and simplify font preview.
Allow user-defined text to be used, some letters are a pain like zero
x "o", "l" x "1"...

I've simplified the preview to use a single edje object and text
class, but the item is not growing as expected on updates... Edje bug?



SVN revision: 72320
2012-06-17 22:30:07 +00:00
Gustavo Sverzut Barbieri 652df62d45 options infrastructure refactor.
There is no global config option anymore, we have option instances
that are set to the termio and media for future queries.

The idea is that we can later have different configuration per termio,
like multiple windows or tabs with different font size, background,
etc.

It's just a refactor. It would be better to define if things like
background is up to the whole terminal and then save to a different
config entry... or just save the global and copy it for next termio,
defining the other instances as 'temporary'. Anyway: policy to be defined.



SVN revision: 72315
2012-06-17 20:24:23 +00:00
Gustavo Sverzut Barbieri 03e58cbad2 fix cursor and fontpreview when theme is an absolute path.
SVN revision: 72308
2012-06-17 18:03:33 +00:00
Gustavo Sverzut Barbieri 3fe325aad5 reduce number of warnings with -Wall -Wextra.
there are still some shadow cases to be fixed and some parameters I've
left unused since it seems like a bug in the API or code.



SVN revision: 72302
2012-06-17 17:04:17 +00:00
Carsten Haitzler ce4096f1cd del options widget after 10 sec delay when they popped down.
SVN revision: 72287
2012-06-17 09:54:36 +00:00