Commit Graph

107 Commits

Author SHA1 Message Date
Carsten Haitzler ca266bdbd5 add hand1 cursor theme element and ensure elm cursor code actually works
this adds a hand1 sample cursor theme/image so the theme can find
cursors, (more should be added later), and now actually makes the elm
cursor handling properly set the cursor and update the hotx/y as
needed by tracking the hot swallow object. this relies on a fix in efl
as well.
2014-04-02 20:48:32 +09:00
Mike Blumenkrantz 64e158d8b0 efm theme bg swallow now stacks correctly
fix T792
2014-03-28 12:04:05 -04:00
WooHyun Jung 75909f8654 elm win - fix wrong resizing of focus highlight obj.
When focus highlight animation is enabled, focus highlight can be
resized only by animator inside edje. So, if there is no animation
by some reasons, focus highlight just keeps its original.
@fix
2014-03-28 14:17:02 +09:00
Mike Blumenkrantz 1d958d1a29 comp edc now uses edje 1.10 features to simplify programs
this is a nice example of how program.sequencing and program.targets can make life a little easier
2014-03-24 11:03:13 -04:00
Hosang Kim 7b4a539e9e list: Add item loop feature
Summary:
If item loop feature is enabled, item is moved infinitely.

1. add new widget api - item_loop_enabled
2. add smart event using new config - elm_list.c
3. add demo - test_list.c/list_focus

Reviewers: seoz, woohyun, raster, jaehwan, Hermet

CC: singh.amitesh, c

Differential Revision: https://phab.enlightenment.org/D619
2014-03-24 17:35:07 +09:00
Wonguk Jeong 160ece70e7 datetime: clip sub components into global clipper
Summary:
Sub components(fields, disable clippers) were shown even if datetime object has no size (0, 0).
To resolve the problem, I made a global clipper,

@fix

Test Plan:
1. create datetime object.
2. evas_object_show without size.
--> datetime object shouldn't be shown

Reviewers: raster, seoz, woohyun, Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D655
2014-03-24 15:59:35 +09:00
Carsten Haitzler 391d52b7e5 fix hoversel colorclasses 2014-03-24 14:41:17 +09:00
Carsten Haitzler b03fe5b9d9 fix button color classes/colors after colorclass intro 2014-03-24 14:29:45 +09:00
Amitesh Singh ffa7f989d7 toolbar: implemented widget item focus feature.
Summary:
1. Added "item,focused" and "item,unfocused" smart callbacks.
2. Added _elm_toolbar_focus_highlight_geometry_get().
3. Implemented elm_object_item_focus_set() and elm_object_item_focus_get().
4. Implemented elm_object_focused_item_get()
5. Ported _elm_toolbar_nearest_visible_item_get from cc827fef6.
6. Added Test Case "Toolbar Focus".

@feature

Test Plan: elementary_test->Toolbar Item Focus

Reviewers: seoz, woohyun, raster

CC: nirajkr, raster

Differential Revision: https://phab.enlightenment.org/D555
2014-03-24 00:22:32 +09:00
nirajkr fcfeba5097 gengrid : Implementation for gengrid item focus support
Summary:
Implemented the following API to support gengrid item_focus
          1. _elm_gengrid_focus_highlight_geometry_get
          2. _elm_gengrid_focused_item_get
          3. _item_focus_up
          4. _item_focus_down
          5. _item_focus_right
          6. _item_focus_down
          7. _item_focus_set_hook
          8. _item_focus_get_hook
          9. _item_focused
          10. _item_unfocused
          11. Changes in the smart_event, pan_calculation, smart_on_focus to support item focus

Reviewers: seoz, woohyun, singh.amitesh, raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D550
2014-03-21 17:00:46 +09:00
Carsten Haitzler ae26fa446f fix scrollbar to be clickable even if vieport is tiny compared to content
@fix
2014-03-21 12:20:43 +09:00
ChunEon Park 578ba73742 entry - entry did word wrapping even the mode was ELM_WRAP_NONE.
The ELM_WRAP_NONE mode should not have word wrap textblock style.

@fix
2014-03-17 00:29:51 +09:00
Carsten Haitzler 43e72d412f theme - tasks - fix colorclass of selected text 2014-03-13 22:18:41 +09:00
Daniel Juyung Seo 01224a2641 actionslider: Fixed wrong signal names but still support backward
compatibility.

- "elm.drag_button,mouse,up" -> "elm,action,up,drag_button"
- "elm.drag_button,mouse,down" -> "elm,action,down,drag_button"
- "elm.drag_button,mouse,move" -> "elm,action,move,drag_button"

This is not the target of backport.
2014-03-11 02:27:26 +09:00
prashant deab06f4bd actionslider: Fixed mouse movement issue.
@fix

Summary:
The name of the signal in edc (elm,right,mouse,down) was
         different from c (elm.right,mouse,down). After changed
         the signal name, mouse event is working as expected.

Test Plan: elementary_test -to actionslider (click right left & center by mouse)

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D618
2014-03-10 23:33:41 +09:00
nirajkr e014fe92f4 genlist: Implemented the item focus support in genlist
Summary:
Implemented the following function
          1. _item_unfocused
          2. _item_focused
          3. _item_focus_up
          4. _item_focus_down
          5. _item_focus_left : Currently this function return EINA_FALSE. It means focus will move out of genlist to the another left widget
          6. _item_focus_right : Currently this function return EINA_FALSE. It means focus will move out of genlist to the right widget
          7. _item_focus_set_hook
          8. _item_focus_get_hook
          9. _elm_genlist_focus_highlight_geometry_get
          10. _elm_genlist_focused_item_get
          11. Changes in the smart_event, smart_on_focus, pan_smart_calculate, mouse up callback.
              Currently selected/focus logic are both present in the smart_event function and its
              will be separate out.

Reviewers: seoz, woohyun

CC: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D558

Conflicts:

	src/lib/elm_genlist.c
2014-03-09 01:55:40 +09:00
Sebastian Dransfeld 181817d988 randr theme: add possibility to hide refresh arrow 2014-03-06 13:55:51 +01:00
Carsten Haitzler 06274f1c60 theme - one more stage in using color classes - not all original cc's 2014-03-06 00:00:51 +09:00
Carsten Haitzler cc0c9f8725 theme - add more standard colorclasses in e theme (so cc dialog works)
more to go still.
2014-03-05 19:19:44 +09:00
Carsten Haitzler 2de777d758 theme - colorclass work. 2014-03-05 18:22:17 +09:00
Simon Lees 3aea7ad0bb Enhancement: #define names for text colors
Summary:
Previously text colors were specfied in the form color: XXX XXX XXX AAA throughout all the edc files, eg color: 255 255 255 255 this made it imposible to write a script to change text colors with sed as it changed many other parts of the theme as well.

Some colors had been defined in fonts.edc and in some places these were used but not many. This change means that all non textblock font colors are defined in fonts.edc and the defined names are used throughout the entire code base. This means that sed only needs to be run on 1 file to change the text color or it is easy to do manually

textblock colors were not done for 2 reasons
1. They hadn't been done in the past so there was no standard for me to follow.
2. They are all specified in html notation eg #FFFFFF which means that they can be changed with sed without effecting the rest of the theme.

If a standard can be come up with for doing this and people think it is worthwhile i can probably fix them at a later date

Reviewers: raster, zmike

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D577

Conflicts:
	data/themes/edc/battery.edc
	data/themes/edc/xkbswitch.edc
2014-03-05 16:01:19 +09:00
Amitesh Singh 069a3de27d list: implemented widget item focus feature.
@feature

Summary:

  #    Added "item,focused" and "item,unfocused" smart callbacks.
  # Added elm_object_focused_item_get() in elm_widget
  # Added elm_object_item_focus_set and elm_object_item_focus_get() APIs for
  # Added one argument in existing _focus_highlight_geometry_get(...,is_next)
  This is required to find out previous and current widget item.
  # Added a elm_win function _focus_highlight_start() which starts the focus

Test Plan: elementary_test->List Focus , List Horizontal Focus

Reviewers: seoz, woohyun

Reviewers Comments: SeoZ - there are some known bugs. we will actively
fix them in a near future.

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D532
2014-02-26 01:26:22 +09:00
Carsten Haitzler cbaadf05c6 theme - xkb module - make lettering more readable over flag 2014-02-23 21:29:55 +09:00
Carsten Haitzler 27b45c051b allow battery reading to be bigger by minor overlap with + sign 2014-02-23 21:24:07 +09:00
Mike Blumenkrantz c6b565a306 fix right side clipping of pager16 background
T771
2014-02-21 16:44:09 -05:00
Mike Blumenkrantz 238a3360c0 remove pager16 base image; this is never visible 2014-02-21 16:44:09 -05:00
Mike Blumenkrantz a3dde1ab44 add clip for gadcon popups 2014-02-21 16:44:09 -05:00
Mike Blumenkrantz 9330865db9 fix deskmirror pixel borders
T1005
2014-02-21 16:44:09 -05:00
Mike Blumenkrantz 61c69ebd95 desklock logo visibility gets a clipper and visibility toggling
T613
2014-02-21 16:44:09 -05:00
Mike Blumenkrantz 2781b0c65a fix deskmirror client area sizing
T991
2014-02-21 16:44:09 -05:00
Andy Williams 6cbf4e3903 naviframe: fix T1008 so promoting an overlap item would perform as documented 2014-02-21 08:05:55 +00:00
Carsten Haitzler 723ead8902 theme - noclip - actually no clip 2014-02-16 21:14:45 +09:00
Carsten Haitzler 91054bb742 theme - scroller - noclip style 2014-02-16 21:09:45 +09:00
Carsten Haitzler 623d836656 theme - clean - list image used in group 2014-02-16 12:12:44 +09:00
Davide Andreoli 4c0f458f25 theme: unify tags macro.
As all the tags are now different from enabled and disabled we don't need the COMMON_ macro
2014-02-15 14:15:17 +01:00
Carsten Haitzler 1d4b74e1de elm scroller - fix self feeding reconfigure to bail out on many loops 2014-02-14 17:32:13 +09:00
Carsten Haitzler 7914d270bd theme - fix scrollbar + end icon position 2014-02-12 17:20:43 +09:00
Carsten Haitzler 268b3b48a8 theme - default styles - make disabled all look properly disabled 2014-02-11 16:56:54 +09:00
Carsten Haitzler 893be18935 we dont use pager2 window theme element at all... as we use deskmirror... 2014-02-10 09:37:50 +09:00
Carsten Haitzler d75098344d theme - use smaller shadow in deskmirror and simpler program for on/off 2014-02-10 09:29:51 +09:00
Carsten Haitzler d3def0a3ad fix missing menu bg 2014-02-09 23:05:20 +09:00
Davide Andreoli 00e1bb3b23 New textblock tags for elm entry widget.
This commit add the following new tags:
title, subtitle, bigger, big, small, smaller, code, comment,
string, number, brace, type, class, function, param, keyword,
preprocessor, line_added, line_removed, line_changed.

Tags has been unified in 3 new utility macros:
COMMON_TEXTBLOCK_TAGS, ENABLED_TEXTBLOCK_TAGS, and DISABLED_TEXTBLOCK_TAGS
to avoid repeating too much in the theme.

Also a new test is in: "Entry Style Default" that show all the new styles.
Docs will follow soon.
2014-02-08 20:14:49 +01:00
Carsten Haitzler 402d04f55a theme - more efm icons from appb
as per T575
2014-02-08 20:12:59 +09:00
Andrii Kroitor 3771a6d473 Elementary menu item: handling hidden icon
Summary:
Added noicon menu item state to default menu theme.
Now you can hide icon by setting it to "" (empty string)
Removed check for resetting the same icon name. This allows setting an icon
after it was hidden.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D522
2014-02-08 13:17:24 +09:00
Andrii Kroitor 7aa326c4a7 Elmementary menu styling fixed
Summary:
When custom style is applyed to menu the same style will be applyed to
its internal hover object.
Moved hover styles used by menu from hover.edc to menu.edc

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D514
2014-02-08 13:13:45 +09:00
Mike Blumenkrantz 65a0da0b4b Revert "theme - remove shadow from border now comp provides it again"
This reverts commit 3d0eb4137359134eac2c815194a34472e2762c03.

this breaks shadows completely. no more dicking with shadows until the object that they should come from gets finalized.
2014-02-05 13:32:29 -05:00
Carsten Haitzler 91977af372 theme - menu - fix menu shadow to not overlap comp shadow 2014-02-06 02:05:57 +09:00
Carsten Haitzler c127476424 theme - remove shadow from border now comp provides it again 2014-02-06 02:05:57 +09:00
Mike Blumenkrantz 9d731b8948 e shadows back into default comp frame
T885
2014-02-04 22:26:22 -05:00
Carsten Haitzler 2677fd33fb theme - efm icons - update/improve generic icons.
as per T575 - this is an improvement of the base icons, or a start on
it, with more to come.
2014-02-03 08:07:28 +09:00