Commit Graph

398 Commits

Author SHA1 Message Date
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
Rafael Antognolli 34af955495 elm/framespace: Get the framespace from the theme.
Additionally, if the frame object can't be created (no theme group
available), do not use it. This will enable us to have a borderless
elm theme.
2013-05-21 16:32:48 -03:00
ChunEon Park 7f7cc5ad39 elementary/win - prevent to add the timer multiple times. 2013-05-20 19:09:13 +09:00
Chris Michael 76eb5c8a1b Add missing HAVE_ELEMENTARY_X guards.
NB: Fixes ticket T107: Building elementary with only wayland support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-13 12:20:13 +01:00
Rafael Antognolli 4cb1b57483 elm/wayland: Engine fullscreen must be set first.
Before removing the framespace and frame object, set the window to
fullscreen, so its geometry will be saved taking into account the frame
size.

This is required because Ecore_Evas does not control the frame object
and frame size, it's all controlled by the application (Elementary, in
this case).
2013-05-08 18:45:02 -03:00
Rafael Antognolli 9768137b79 elm/wayland: Implement borderless_set for wayland.
Also add a checkbox to the "Window States" test of elementary_test.
2013-05-06 20:08:58 -03:00
Cedric Bail 1323fcc062 elm_win: fix typo leading to segv. 2013-05-03 19:23:53 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Juyung Seo dcf935745e elm_win.c: fixed unused warning when it does not use wayland. 2013-05-01 22:52:01 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Rafael Antognolli 6371404c13 elm/wayland: Move the frame object to -fx, -fy.
It is not a special object anymore, and does not need special handling.
Just move it to the correct position, since the canvas 0,0 point now has
an offset.
2013-04-29 11:31:02 -03:00
Rafael Antognolli 028fcf8827 elm/wayland: Fix window resize when the window is rotated. 2013-04-25 20:02:55 -03:00