Commit Graph

204 Commits

Author SHA1 Message Date
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
Carsten Haitzler ed9a838af2 theme - packagekit - adjust text to be in right spot and subtle inset 2014-02-02 18:46:50 +09:00
Carsten Haitzler 5d0ec9dca7 theme - e - remove wrong group from packagekit group 2014-02-02 18:39:52 +09:00
Carsten Haitzler f4b60c547a theme - packagekit - make theme match default for module 2014-02-02 16:15:32 +09:00
Carsten Haitzler 59a673c169 theme - pager16 - remove shadow as now shadow is back in comp 2014-02-02 10:02:07 +09:00
Carsten Haitzler c9720200c2 make iconify effects moe natural (faster to deiconify to make it feel snappy) 2014-01-30 07:46:01 +09:00
Mike Blumenkrantz 564ddb4c58 remove e comp iconify theme hacks, add basic iconify effect 2014-01-29 13:36:52 -05:00
Mike Blumenkrantz f70af93e9c add screensaver active edje signal for idle freezing
I forgot to commit this the other day I guess
2014-01-29 10:53:12 -05:00
Carsten Haitzler 69c25adea4 theme - support icon provider message for e comp frames 2014-01-29 22:17:13 +09:00
Mike Blumenkrantz d29a394bd0 reduce iconify animation durations for fast comp effect groups
T860
2014-01-27 09:46:22 -05:00
Davide Andreoli ae975c98a0 Packagekit module: try a new icon.
New icon for the E module as discussed on T427, I'm not
really happy by all the bits but its a good start. Also put
in the inkscape svg mockup file.

Thanks to ragecryx that draw the base icon!
2014-01-26 23:49:07 +01:00
Tom Hacohen ad36b35ffc Revert "[naviframe] Fix to hide the previous view by emitting signal"
This breaks elementary_config (open it and you'll see the weird bugs on
the top left corner). Please fix it and recommit as needed. I have no
time to dive into naviframe and see what this patch is meant to be
doing.

This reverts commit e3784b68e01849a99e06f31e02192ffb19d1275c.
2014-01-24 17:37:24 +00:00
Carsten Haitzler 69144caceb theme - win shadow - stack under all so pulsing icon is not BELOW the shadow. 2014-01-23 00:28:13 +09:00
Jaehyun Cho ef93bf6616 [naviframe] Fix to hide the previous view by emitting signal
Summary:
Previously, previous view was hidden by evas_object_hide.
         However, this method is no longer correct because size calculation of naviframe causes evas_object_show.
         Now, previous view is hidden by emitting signal to naviframe theme and clipper hides the previous view.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D484
2014-01-22 22:07:31 +09:00
Carsten Haitzler 1d59d62703 theme update to handle rename on/off in efm
shoudl fix T799
2014-01-22 18:32:24 +09:00
Carsten Haitzler 59bc4cff0e elm filesel - scale button in filesel button. 2014-01-22 15:19:17 +09:00
Carsten Haitzler 3ee1a576e3 elm filesel - fix theme layout for button+entry 2014-01-22 15:17:47 +09:00
Carsten Haitzler 5c04d8866e inwin - the "greying out" fade looks just wrong - make it black. 2014-01-22 15:14:15 +09:00
Davide Andreoli f0e70bbad8 theme for the packagekit module IN 2014-01-19 11:37:14 +01:00
Carsten Haitzler 852eface62 theme - ibar - emit show doen signal for ibar menu 2014-01-18 19:52:24 +09:00
Mike Blumenkrantz 1d4504442a tweak e menu shadow offsets
T793
2014-01-16 12:03:00 -05:00
Carsten Haitzler 74ea068ff5 pager16 - match same theme look for popup as pager orig 2014-01-15 20:34:17 +09:00
Carsten Haitzler d7fb4520c9 e19 - deskmirror - use proper scaling for mini frames 2014-01-15 20:13:54 +09:00
Jaehyun Cho afef2271fd [naviframe] Replace naviframe title visible APIs to naviframe title enabled APIs
Summary:
To support naviframe title transition effect, naviframe title enabled APIs are applied.
         To remove the duplicate functionalities, naviframe title visible APIs are deprecated.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D426
2014-01-15 14:29:05 +09:00
Mike Blumenkrantz aff9c9bda3 e menus now have their own shadows 2014-01-14 20:17:12 -05:00
Mike Blumenkrantz ad204eec40 fix comp theme fast popups to still have shadows 2014-01-14 20:17:12 -05:00
Mike Blumenkrantz e306137456 change theme animation for window frame icon urgency to be more in line with other e animations
a number of e animations are "zoom" related. bouncing is clearly identified as being OSX, so let's stay away from that.
2014-01-14 20:16:59 -05:00
Mike Blumenkrantz 87950c5d6c feature: add PIN desklock theme
currently just reuses syscon buttons since they're identical in function
2014-01-14 20:16:13 -05:00
Mike Blumenkrantz 9dc7d4b5ab feature: iconify/uniconify animations for windows 2014-01-14 20:16:13 -05:00
Mike Blumenkrantz 03a059bf9d feature: pager16 module theme 2014-01-14 20:16:05 -05:00
Mike Blumenkrantz 5edd6bf65d readd deskmirror
this file seems to have been magically and mysteriously lost during the recent theme merge
2014-01-14 20:14:55 -05:00
Mike Blumenkrantz 6cf4847700 redo comp theme to match e19 signals
* shadows should be uniformly moved to whatever thing they're supposed to be on (WIP)

* trans-clipper was a failure idea, this is now done in C

* signals renamed to be more consistent

* groups renamed to comp/frame/*

* comp/border/* groups preserved for compat
2014-01-14 20:14:54 -05:00
Daniel Juyung Seo b70db6eefb panes: Fixed panes smart callbak calls by fixing default theme.
Panes smart callback depends on the signals from theme but it was broken
when dark theme was introduced.
"clicked" does not work yet, it should be fixed.

Thanks for the report, JackDanielZ.
2014-01-13 23:01:40 +09:00
prashant 1c66052faf [actionslider]:enable the mouse event
Summary: On mouse click move the knob on action slider

Test Plan: elementary_test -to actionslider

Reviewers: seoz, singh.amitesh, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D384
2014-01-13 15:44:44 +09:00
Carsten Haitzler da3e22e851 theme - make dark rounded square less transp. and add shadow to ibar menu 2014-01-13 05:15:12 +09:00
Carsten Haitzler e6b4c230de elm theme - fix toggle color to hide invisible orange rect 2014-01-04 18:55:45 +09:00
Amitesh Singh 0be8dbcaae [elc_popup] - Added focus support on popup-base's swallow parts.
Summary:
 Currently the focus was only on popup-content and popup-action area.
New API elm_layout_content_swallow_list_get() which returns the list of
swallow parts.

Test Plan: elementary_test -to popup. click on "subpopup + X button"

Reviewers: seoz, raster, woohyun

Reviewed By: raster

CC: nirajkr, aryarockstar, kashish

Differential Revision: https://phab.enlightenment.org/D375
2013-12-28 17:33:10 +09:00
Mike Blumenkrantz 1bfaa16b35 set e init splash default version to 19 2013-12-26 22:31:24 -05:00
José Roberto de Souza 7aa21f73fd Update systray theme to have only one box 2013-12-18 16:25:57 -05:00
Mike Blumenkrantz 4c9dcb75e5 further ensmallen event area 2013-12-10 11:41:38 -05:00
Mike Blumenkrantz 10267d5afc bugfix: ensmallen efm event area and make it overlap with icon event area 2013-12-10 10:16:07 -05:00
Cedric Bail 7ace0215f6 naviframe: clip the shadow also.
stable release - cherry-pick me!

During animation, if the naviframe wasn't inside another object that would clip
it, you could notice the shadow going over some object around.
2013-12-06 11:45:17 +09:00
Carsten Haitzler 0c2d2bcb21 theme - fix evrything theme elements for enlightenment
this will fix T596 where the open mode is laid out badly. it also
fixes the text elements in the file borwser list mode to align text
properly.
2013-12-03 16:39:58 +09:00
Mike Blumenkrantz 76b6d351cc fix e border theme mouse events
I removed this a while ago to fix shaped windows, but then I fixed it another way and forgot to put them back
2013-12-01 14:24:48 -05:00
Daniel Juyung Seo b947a522e1 genlist.edc: fixed decorate all mode bug when scrolling.
When we scroll the genlist with decorate all mode, newerly realized items looked like a normal mode.
This was caused by a new theme. Genlist item style should handle all the necessary parts when decorate mode is enabled/diabled.
This fixes T576.
2013-11-28 17:23:47 +09:00
Daniel Juyung Seo 659a91a7ac genlist.edc: fixed missing "fixed: 0 1;" notation in genlist COMPRESS_SUB macro.
"fixed" property should follow its parent part property.
This fixes T497.
2013-11-26 09:09:42 +09:00
Carsten Haitzler 28ead975a0 theme-randr - extend pwr event area for those who dont click where indicated 2013-11-19 08:23:49 +09:00
Daniel Juyung Seo d32e73b1c6 tooltip.edc: fixed a comment typo. 2013-11-18 21:28:47 +09:00
Carsten Haitzler 2631fa54fb theme - add more usability hints for ranr dialog like power button 2013-11-16 12:42:55 +09:00
Thiep Ha ac54eff80c Move selection handler from edje to elm
Reviewers: cedric, raster, seoz, Hermet, tasn

CC: raster

Differential Revision: https://phab.enlightenment.org/D311
2013-11-08 17:25:51 +09:00
Carsten Haitzler dc6d3c10a2 fix cursor to stay shown when cursor moves due to manual placement or typing
related to https://phab.enlightenment.org/D204 which doesn't apply or
has the emit in the wrong place. this now has it done right.
2013-11-08 16:57:09 +09:00
Thiep Ha 45dd27d9ac elm_entry: fix magnifier not showing up.
The swallow part was properly renamed and namespaced, so reflect that
in the code. Also force a edje object recalc before moving the magnifier.

Reviewers: raster, cedric, Hermet, tasn

Reviewed By: cedric

CC: seoz

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-11-08 16:10:48 +09:00
Daniel Juyung Seo 2851f6b6e3 fileselector.edc: Fixed button part size calculationg issue.
Do not fix the height of button swallow part so that it can be expanded.
This fixes T238.
2013-11-06 04:38:57 +09:00
Chris Michael 48792c035f Remove whitespace
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-05 09:50:39 +00:00
Davide Andreoli d3bad72da1 Fix the theme of the music_control module. It got broken while merged with elm 2013-11-02 22:31:52 +01:00
Carsten Haitzler ef8f697748 sync elm theme with e17 theme changes made. 2013-10-31 23:41:12 +09:00
Carsten Haitzler 26e1fd3755 elm button theme - ensure only event part gets events 2013-10-25 22:15:44 +09:00
Carsten Haitzler 9d90a3c1c3 new theme (dark) is now default in elm. matches e now in look 2013-10-17 16:35:56 +09:00