Commit Graph

409 Commits

Author SHA1 Message Date
Chris Michael bd7c04e174 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15 10:16:00 +00:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Carsten Haitzler 1aa3dd0ec4 unbreak wayland elm build more - use get_surface_id api 2013-11-02 11:51:50 +09:00
Chris Michael dcf38e3d20 Revert maximize support ... apparently this has already been "fixed"
... will have to look into why it does not work here propertly tho..

Revert "Fix elm client applications to support maximize properly (ie: removing"

This reverts commit 28763963bb9e26ea25ca182acc294c0a02f03ba2.
2013-11-01 07:25:15 +00:00
Chris Michael f59b6f9109 Revert this ... apparently it has already been "fixed"
Revert "Add missing EINA_UNUSED to function params."

This reverts commit 15b355a1195f0371c4e74d942ef9fcfa86a4a469.
2013-11-01 07:24:45 +00:00
Chris Michael a8b4180d7e Add missing EINA_UNUSED to function params.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31 17:05:17 +00:00
Chris Michael 1f69d676c0 Fix elm client applications to support maximize properly (ie: removing
border shadow and resizing properly).

NB: Elm Theme needs fullscreen support old man !! :P

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31 17:02:18 +00:00
Daniel Juyung Seo e951a0b499 access: fixed a typo. _elm_access_object_hilight -> _elm_access_object_highlight. 2013-10-31 23:01:56 +09:00
Rafael Antognolli e8a029b153 elm/win: Do not force maximized status.
When receiving a maximize event from the maximize button, do not force
sd->maximized. We must wait for a state change event, just like when a
window is maximized by the elm_win_maximized_set function. This will
ensure that a maximized smart event is sent.

Additionally, send a elm,state,maximized signal to the edje theme, so it
can update shadows and window decorations correctly.
2013-10-29 09:20:48 -02:00
Rafael Antognolli 14e63d0a71 elm/win: Put framespace set code in a common place.
A little refactory that hopefully will prevent future mistakes when
changing this code.
2013-10-29 09:20:48 -02:00
Daniel Juyung Seo d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00
Daniel Juyung Seo 6397761c6a elm_test: Fixed formatting. tab to space.
Changed tab to space before working on the code.
Kinda surprised by the number of tabs we had.
2013-10-14 19:12:32 +09:00
Ryuan Choi bdab578c1a elm_win: Fixed warning after 99ab56d5
ELM_WIDGET_SUB_ID_THEME needs to return Eina_Bool.
In addition, calls the super function of ELM_WIDGET_SUB_ID_THEME.

Reproduce step is changing profile in elementary_config.
2013-10-11 22:05:21 +09:00
Carsten Haitzler 95fdc9cc88 fix up namespace for many signal while keeping old versions for compat 2013-10-05 21:35:27 +09:00
Daniel Juyung Seo 252ec02cc2 elm_win.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:22:41 +09:00
ChunEon Park f19655ca3d elementary/focus - update focus highlight when theme is changed. 2013-10-03 23:57:08 +09:00
Daniel Juyung Seo e756f97dae elm: Longwaited trailing white space removal. Clean elm up! 2013-09-30 22:15:01 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Chris Michael 9c638defed Tell evas to use a frame object here.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-11 14:11:08 +01:00
Chris Michael fd7bd29b34 Tweak adjustment of setting opaque region.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-10 14:29:18 +01:00
Chris Michael 328b0be7f5 Add a rectangle to trac frame "spacer" so we can set opaque_region
properly.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-04 14:22:44 +01:00
Chris Michael 4d23309024 Fix eo function description (fixes a typo).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-04 09:22:38 +01:00
Chris Michael d64eeef25a Add elm_win_window_id_get API function
NB: On X11, this will return the Ecore_Window of the Elm Window. On
Wayland engines, this will return the surface id of the Elm Window.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-04 09:19:30 +01:00
Chris Michael 7155cc0302 Remove blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-04 08:23:10 +01:00
Chris Michael 01c42920f2 Fix mike's "move pointer" problem with elm apps inside wayland-only.
On a move start signal, set the mouse cursor to "move".
Add hook for "move stop" to unset cursor.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-28 14:26:06 +01:00
Chris Michael a03b9464a6 Fix wayland borders to not need framespace defined in theme anymore.
NB: Use a rectangle, swallowed into the frame object, to calculate
framespace values.

Thanks Raster !! :)

This also fixes zmike's Fat-Frame issue ;) (ie: frame size and
framespace will be adjusted now for different font sizes in the
titlebar)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-23 08:39:19 +01:00
Daniel Juyung Seo c5b0d63838 fixed documentation for consistency. Gets -> Get.
Occurance of Get is super much higher than Gets.
So change Gets to Get for consistency.
2013-08-22 05:24:46 +09:00
Daniel Juyung Seo 50939d8f25 elm_win.c: focus animation refactoring. 2013-08-15 22:42:59 +09:00
Daniel Juyung Seo 4e1989433e elm_win.c: formatting fix before working on this file. 2013-08-15 22:42:13 +09:00
Daniel Juyung Seo dd3fb75651 elm_win focus: Added elm_win_focus_highlight_animate_set/get APIs.
Now one can manually enable/disable focus highlight animation for a specific window on run-time.
2013-08-11 18:58:28 +09:00
Daniel Juyung Seo 9bb54a942e elm_win.c: check null before dereferencing it.
This fixes coverity CID 1040022 : Dereference null return value (NULL_RETURNS).
2013-08-11 17:39:24 +09:00
Shinwoo Kim dec4d56d95 [access] call smart_access(); of the object which does not have parent object 2013-08-06 14:00:50 +09:00
Daniel Juyung Seo 91e8853535 elm_win.c: rename variable correctly. top_animate -> animate. 2013-08-04 17:52:54 +09:00
Daniel Juyung Seo a6d5d9909d elm_win.c: refactoring. cleaner code. 2013-08-04 17:38:02 +09:00
Daniel Juyung Seo 36efa6439e elm_win.c: more descriptive variable name. top -> fobj for focus edje object. 2013-08-04 17:37:30 +09:00
Daniel Juyung Seo c4bfc46960 elm_win.c: more ELM_SAFE_FREE adoption. 2013-08-04 17:15:03 +09:00
Daniel Juyung Seo 96c0e0f910 elm_win.c: rename internal variable for consistency. 2013-08-04 17:14:44 +09:00
Daniel Juyung Seo 508786cfb2 elm_win.c: more friendly output. 2013-08-01 20:03:19 +09:00
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +09:00
Carsten Haitzler a5d5d0ec14 add throttle policy settings to elm 2013-07-25 22:17:52 +09:00
WooHyun Jung d659ee012e elementary/elm_win.c : When highlight shutdown, custom highlight of current focused widget should be hidden. 2013-07-13 12:37:03 +09:00
Daniel Juyung Seo 71341d5005 elm_win.c: added comments for internal functions.
_elm_win_resize_objects_eval()
_window_layout_stack()
2013-07-03 13:20:01 +09:00
Daniel Willmann be9e031e07 elm_win: Cast Ecore_X_Illume_Indicator_State to Elm_Win_Indicator_Mode
Avoids a warning in clang

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 18:06:18 +01:00
Daniel Juyung Seo 6cf684f02a elm: added more "focused" and "unfocused" documentations.
genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo d878787b02 elm_win.c: changed EINA_LOG_INFO to INF to use elementary log domain. 2013-06-07 13:47:58 +09:00
Boris Faure bda98e9dd3 fix compilation 2013-06-06 21:20:20 +02:00
Daniel Juyung Seo 8bfdbd2ba6 elm: all the focusable widget now emits "focused" and "unfocused" smart callbacks.
1. documentations, NEWS, and ChangeLog will be updated later after some more test.
2. need to check entry.
2013-06-07 01:13:37 +09:00
Daniel Juyung Seo d0d4afd590 elm: refactoring. no printf in the library. use eina log instead. 2013-06-05 14:40:03 +09:00
Daniel Juyung Seo cb691fc983 elm_win.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:11:46 +09:00
Daniel Juyung Seo 5f053bf79a elm: refactoring. use more ELM_FREE_FUNC. 2013-05-23 15:54:49 +09:00