Commit Graph

271 Commits

Author SHA1 Message Date
Carsten Haitzler 8a65fc1495 add a proper elm api to request a prefeered evas rendering engine.
SVN revision: 68553
2012-02-29 12:45:58 +00:00
Carsten Haitzler 307eb11c75 and now add/implement window icon too. awesome++!!!!!!!
that set of missing stuff that u needed ecore_x for is now done. ugh.
more stuff to do.



SVN revision: 68551
2012-02-29 12:06:12 +00:00
Daniel Juyung Seo 93981f37c3 elm win: Fixed typo. Patch by Jeremy Zurcher <jeremy@asynk.ch>
On Wed, Feb 29, 2012 at 5:10 PM, J??r??my Zurcher <jeremy@asynk.ch>
wrote:
elm_win_widthdrawn_get -> elm_win_withdrawn_get

Jeremy

SVN revision: 68541
2012-02-29 08:56:40 +00:00
Daniel Juyung Seo fd19596e5a elm win: Commented unused function.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68533
2012-02-29 05:05:50 +00:00
Christopher Michael bf0c4315fa Elm (wayland): Set frame clip. Fix maximize/unmaximize in wayland.
SVN revision: 68524
2012-02-28 22:52:34 +00:00
Christopher Michael 36f0bb5003 Elm (wayland): Update elm code to reflect recent efl wayland changes.
SVN revision: 68519
2012-02-28 21:58:34 +00:00
Carsten Haitzler f0433e3a5e add callbacks for knowing several states of a window and more api's to
control a windows properties



SVN revision: 68502
2012-02-28 11:20:35 +00:00
Carsten Haitzler 8b615e6dda actually on reflection - doyoun - indicator mode should be like this.
SVN revision: 68432
2012-02-25 05:14:19 +00:00
Doyoun Kang d15d98327f From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: Add feature for showing/hiding indicator

Hi, raster.
As we discussed about indicator, i added feature for indicator.
Please check attached patch files.

1. elementary
i added enumeration to Elm_Illume_Command as below.
- ELM_ILLUME_COMMAND_INDICATOR_SHOW
- ELM_ILLUME_COMMAND_INDICATOR_HIDE

2. ecore
i added atoms/enumerations/APIs as below.
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;

typedef enum _Ecore_X_Illume_Indicator_State
{
   ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN = 0,
   ECORE_X_ILLUME_INDICATOR_STATE_OFF,
   ECORE_X_ILLUME_INDICATOR_STATE_ON
} Ecore_X_Illume_Indicator_State;
         
EAPI void ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);
EAPI Ecore_X_Illume_Indicator_State
ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);



SVN revision: 68410
2012-02-24 12:33:11 +00:00
Cedric BAIL 9cc9235a0a elementary: oops revert.
SVN revision: 68396
2012-02-24 11:04:06 +00:00
Cedric BAIL 4c6f423481 elementary: avoid segv and don't duplicate call.
SVN revision: 68395
2012-02-24 11:02:55 +00:00
Carsten Haitzler 628927d3d4 use focus order to determine if window never focused before instead of
show count. fixes focus problems in elm tests for entries



SVN revision: 68211
2012-02-21 10:54:46 +00:00
cnook df26dee932 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elm_win] elm_win_title_set(); can make a
crash with NULL

Have ever try to call elm_win_title_set(win, NULL)? Then try... :-] It
makes "Segmentation Fault".
Yeah, we can add patch in the Ecore side, but we can prevent the
segmentation fault before go inside.
Please check the patch and give any feedbacks. Thanks a lot.



SVN revision: 68154
2012-02-20 11:48:31 +00:00
Christopher Michael a4b470eced Elm: Call function to set wayland mouse pointer.
SVN revision: 67817
2012-02-10 09:17:49 +00:00
Christopher Michael dcee2d3a6b Elm: Start on wayland pointer handling code. (draws but not complete
yet).



SVN revision: 67814
2012-02-10 08:37:16 +00:00
Michael BOUCHAUD 4f51d4593d elementary: add hooks text to elm_win, from Davide Andreoli. Thanks!
SVN revision: 67743
2012-02-07 23:39:19 +00:00
Daniel Juyung Seo 4d06eea2bd elm win.c: Removed unnecessary variable.
SVN revision: 67253
2012-01-17 00:02:02 +00:00
Jiyoun Park c54c6c1ae9 Add new widget for extn socket and plug.
application can use ecore extn socket easyily 
by using elm_window_add with ELM_WIN_SOCKET_IMAGE style. 
And new widget Elm plug is similar with Elm image. 
it can show socket's image using connect API. 
I add test code also(test_win_socket/plug). 



SVN revision: 67245
2012-01-16 17:18:20 +00:00
Christopher Michael 3e83e40a23 Elementary: Added Wayland_Egl backend support.
Modified elm_win to use generic wayland_resize function (for
ecore_evas).



SVN revision: 67134
2012-01-12 09:10:27 +00:00
Christopher Michael 4603acbf0f Elm (wayland): Handle frame resize via edje callbacks.
SVN revision: 66968
2012-01-08 11:23:59 +00:00
Christopher Michael c74314f98b Elm (wayland): Use edje signals for move/resize/close, etc, etc on
frame.
Implement 'close' on frame (works).



SVN revision: 66862
2012-01-04 09:30:05 +00:00
Christopher Michael 26127e35b9 Elm (wayland): Add ability to actually move windows around in wayland.
Remove __UNUSED__ on a variable that is actually used (in callback_show).



SVN revision: 66809
2012-01-03 20:41:49 +00:00
Mike Blumenkrantz ac529422ec more sprintfs
SVN revision: 66778
2012-01-03 05:30:13 +00:00
Christopher Michael 59e83e370e Elm: Add wayland_shm engine for Elm. Add config entries for the
Wayland Engine. Give elm window some 'framespace' and borders for
wayland_shm.

NB: This means that you can now build & run elm apps for Wayland :)



SVN revision: 66767
2012-01-03 01:45:22 +00:00
WooHyun Jung dbf9d0065b elementary/elm_win : when window is shonw at the first time, only
elm_win should be set as focused. not for child objects.


SVN revision: 66174
2011-12-14 00:43:15 +00:00
Mike Blumenkrantz 5b3283d6b5 <stefan_schmidt> discomfitor: successful commits are often just a compile away.
SVN revision: 65914
2011-12-05 16:05:11 +00:00
Mike Blumenkrantz 6a4c087750 better use of sub-object-del
SVN revision: 65911
2011-12-05 15:32:53 +00:00
Mike Blumenkrantz ba25d2754d use sub-object-del signal for win stuff
SVN revision: 65910
2011-12-05 15:27:32 +00:00
Mike Blumenkrantz c74f2f3db5 fix super annoying elm_win bug that went something like this:
win_resize_object_add(win, subobj);
object_content_set(otherobj, subobj);
object_del(win);


ERR<21326>:elm-externals elm_widget.c:978 elm_widget_sub_object_del() removing sub object 0xdeadbeef (some_stupid_widget) from parent 0xRRRRRRRR (win), but elm-parent is different 0xFUCKTHIS (NOT EVEN A WIDGET)!


SVN revision: 65884
2011-12-05 04:26:32 +00:00
Mike Blumenkrantz 88a2ddbe71 move safety check to actually do stuff here
SVN revision: 65872
2011-12-04 22:02:02 +00:00
Mike Blumenkrantz 60b7773ac6 add safety checks for elm_win_center
SVN revision: 65870
2011-12-04 20:44:41 +00:00
Mike Blumenkrantz d3b755cbe6 MIN/MAX macros -> elm_priv.h
+elm_win_center
+elm_win_screen_constrain_get/set


SVN revision: 65859
2011-12-03 22:51:12 +00:00
Daniel Juyung Seo f391a7d6bc elm: Removed trailing whitespaces.
SVN revision: 65725
2011-11-30 17:44:00 +00:00
Mike McCormack 1570bdbe3a elementary: Fix a warning
elm_win.c: In function ‘elm_win_focus_get’:
elm_win.c:2182:4: warning: ‘return’ with no value, in function returning non-void

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65527
2011-11-23 07:45:48 +00:00
Gustavo Lima Chaves 080f67be82 [elementary] Fix return value on function.
SVN revision: 65515
2011-11-22 12:37:26 +00:00
Mike Blumenkrantz cc210afd2a add elm_win_screen_size_get using ecore_evas
SVN revision: 65494
2011-11-21 19:51:24 +00:00
Mike Blumenkrantz 8536e81cea add elm_win_focus_get
SVN revision: 65493
2011-11-21 19:41:53 +00:00
Cedric BAIL c3e5006835 elementary: remove warning when building without X.
SVN revision: 65436
2011-11-20 14:00:41 +00:00
Tom Hacohen 14e60a2e4f Elm win: change resize object func to use the win obj geom.
SVN revision: 64949
2011-11-08 13:09:11 +00:00
Youness Alaoui 6d00462910 Elementary: Add support for the PSL1GHT engine
SVN revision: 64784
2011-11-05 17:50:09 +00:00
Nicolas Aguirre ec32ba1369 elementary: Add ecore_cocoa backend to elementary
SVN revision: 64657
2011-11-02 19:26:29 +00:00
Jiyoun Park f3b588730f modify resize job function.
it have to use requested value. 
I also fix bug related with elementary test


SVN revision: 64635
2011-11-02 07:10:29 +00:00
Tom Hacohen c4aa1fc109 Revert "change _elm_win_resize_job use ecore_evas_request_geometry_get function."
This reverts commit 64549.

I gotta adimt, your commit looks correct to me, but hey, it breaks
elementary_test's "Window Inline" test... Please investigate it further
and make re-apply your commit afetr your solve these issues.

SVN revision: 64605
2011-11-01 10:53:05 +00:00
Jiyoun Park a2806400d5 change _elm_win_resize_job use ecore_evas_request_geometry_get function.
currently, only X window system undergo async problem, 
but other windowing system meet same problem if it have asyncmode.
so I dont have to handle per-display specifics higher up above ecore-evas.
(use ecore_evas_request_XXX instead of ecore_evas_x11_request_XXX)
not only async windowing system but also situation wm refuse resizing request, 
make request size != current size.
so I'll implement ee->req value to other windowing system.
--under this line, and those below, will be ignored--

M    elm_win.c


SVN revision: 64549
2011-10-31 08:42:15 +00:00
Daniel Juyung Seo bafe9c7426 elm: Use appropriate add/del_full for evas event callbacks.
SVN revision: 64536
2011-10-31 00:13:32 +00:00
Bruno Dilly de619a0bb8 Elementary Win: make elm_win_xwindow_get works to widget items
With that elm test Cursor 2 will work again.


SVN revision: 64396
2011-10-25 19:33:42 +00:00
Carsten Haitzler 1a1aaa8b94 eek - warning--
SVN revision: 64391
2011-10-25 12:30:10 +00:00
Carsten Haitzler e352969bb6 add util call to save always adding win, setting title, adding bg,
showing it etc. etc. -> standard kind of window.



SVN revision: 64376
2011-10-25 08:45:56 +00:00
Iván Briano 057a00829c Get us some nice auto translation scheme
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.



SVN revision: 64179
2011-10-19 14:17:14 +00:00
WooHyun Jung 1df093390c elementary/elm_win.c : fix small bugs in elm_win.c
SVN revision: 64123
2011-10-17 06:53:10 +00:00
Youness Alaoui 5597898394 Elementary: Use ecore_evas_new if the engine fails instead of hardcoding software-x11 as the fallback
SVN revision: 64092
2011-10-15 09:48:34 +00:00
Carsten Haitzler c500b4b983 use ecore-evas and eevas image calls consistently for inlined wins
SVN revision: 64070
2011-10-14 07:30:52 +00:00
Gustavo Sverzut Barbieri ab188c657c Elementary support for EWS, with simplistic window manager.
This contains a very simple and stupid window manager to be used in
FB, PS3 or similar single-window engines. Everybody is welcome to
improve it, particularly:
 * Edje: better border decoration theme
 * Edje: nice background
 * C + Edje: taskbar with minimized items.
 * C + Edje: find a better protocol to determine window size,
   accounting border decoration without account shadow! Right now I'm
   taking everything :-P
 * C: window management keys (Alt+F4 and like)

How to use: export ELM_ENGINE=ews
How to configure backing store: export ECORE_EVAS_EWS=enginey:w:h:options
Example:
{{{
export ECORE_EVAS_EWS=software_x11:0:0:1024:768
export ELM_ENGINE=ews
elementary_test
}}}

Bugs: maybe many, but so far seems it wouldn't take mouse events for
secondary windows. Will check it later.





SVN revision: 63849
2011-10-05 22:18:22 +00:00
Mike Blumenkrantz cf1f395966 fix bug where window-type tooltip deletion caused infinite recursion
SVN revision: 63761
2011-10-03 04:12:40 +00:00
ChunEon Park 9fafcc717b elementary/win - added signal callback call for theme chanaged.
application developers may need to know when theme is changed. 



SVN revision: 63368
2011-09-14 02:09:05 +00:00
WooHyun Jung d20294db8e elementary : Elementary focus can be controlled only when top window's
canvas gets focus. If elementary's focus control is tried with
unfocused canvas, newest_focus_count is only updated.


SVN revision: 63245
2011-09-07 06:15:55 +00:00
WooHyun Jung 52b792ce75 elementary/elm_win : Elementary's focus control should be started
after the canvas gets focus. There can be a case that the canvas doesn't get
focus when elm_win is shown. 


SVN revision: 63240
2011-09-07 01:41:19 +00:00
Gustavo Lima Chaves 9589706ff9 [elementary] Irritatingly bad output string now better.
SVN revision: 62732
2011-08-23 22:44:57 +00:00
Daniel Juyung Seo 479b4773e1 elm: Refactoring before I commit another patch.
1. Fixed indentation.
2. Removed trailing whitespaces.
3. Removed unnecessary blank lines.


SVN revision: 62424
2011-08-13 16:36:44 +00:00
Gustavo Lima Chaves 31a3e6180a [elementary] All docs to elm's header, as Raster wishes.
Discomfitor, now it's time to split the header and/or write another novel.



SVN revision: 62315
2011-08-10 21:03:21 +00:00
WooHyun Jung 0bbff85394 elementary/elm_win : focus restoring will be occured only when current
elm_win is unfocused.


SVN revision: 62247
2011-08-09 09:29:22 +00:00
WooHyun Jung bda792c39a elementary : elm_win didn't be focused/unfocused following the focus
state of its ecore_evas.


SVN revision: 62235
2011-08-09 08:36:02 +00:00
Carsten Haitzler 465ca66ed3 we really should focus when we release mouse AND on_hold is... NOT
set. happy happy joy joy.



SVN revision: 62197
2011-08-08 10:32:32 +00:00
WooHyun Jung cf9f98b706 elementary : Partly rollback for about the feature "focus movement by
arrow keys". There is a better way to support this feature, so
implementing it now.


SVN revision: 62168
2011-08-06 07:39:31 +00:00
WooHyun Jung 85351c10c5 elementary : Focus movement is possible with arrow keys. You can check
this feature in elementary_test -> focus. 


SVN revision: 62125
2011-08-05 08:25:07 +00:00
Daniel Juyung Seo 2f2ebe1835 elm focus: Added elm_object_focus_set() API. Use this instead elm_object_focus/unfocus().
SVN revision: 62049
2011-08-03 11:46:23 +00:00
Carsten Haitzler 4f64dc8441 fix re-focusing of widgets once inlined window is focus. kind of
tricky requiring a 2nd shadowed parent.



SVN revision: 61989
2011-08-02 10:34:30 +00:00
Iván Briano 0fa864922d Let's return from Bizarro world. Things working backwards may be fun, but they are a bit confusing.
SVN revision: 61961
2011-08-01 19:41:56 +00:00
Carsten Haitzler 1de22e3806 min size of a win is NOT -1!!
SVN revision: 61948
2011-08-01 12:19:36 +00:00
Daniel Juyung Seo 90adda213d elm win: Refactoring. Removed unused local variable.
SVN revision: 61934
2011-08-01 06:49:58 +00:00
Iván Briano 6ecda508cc Elm_Win for normal human beings
SVN revision: 61907
2011-07-29 19:57:57 +00:00
ChunEon Park c28fd3012e elm_win - patchec by kimcinoo@gmail.com
Hi All,

If ecore_evas_[not_software_x11]_new(); returns NULL while elm_win_add(); is
called,
then ecore_evas_software_x11_new(); is used instead of other engines.
(FALLBACK_TRY)
But the configuration value for engine is not changed. This makes improper
result.

After FALLBACK_TRY, the elm_win works with different configuration value.
In this case, win->xwin (_elm_win_xwindow_get()) gives NULL.
and elm_win_xsinodow_get() returns 0 also.

Please refer to attached patch. Thanks a lot

Sincerely,
Shinwoo Kim.



SVN revision: 61894
2011-07-29 14:28:33 +00:00
Iván Briano d6012c0118 Who removed the second signal and left the now useless comment?
SVN revision: 61862
2011-07-28 14:59:15 +00:00
Iván Briano ddb13f269b Inwin docs. No example.
SVN revision: 61852
2011-07-28 12:11:14 +00:00
Tom Hacohen 7db652a383 Elm engines: Added "buffer" engine.
This engine just creates a buffer and renders everything to that buffer.
It's really useful for creating emulations of input/output and taking
window captures from them.

SVN revision: 61688
2011-07-25 12:02:52 +00:00
Mike Blumenkrantz f2a67f5efb this code was too ugly to live
SVN revision: 61610
2011-07-23 17:27:39 +00:00
Vincent Torri 58553b41ec use strrchr() over rindex() for portability
SVN revision: 61225
2011-07-11 04:15:42 +00:00
Daniel Juyung Seo 7061368326 elm: Removed trailing whitespaces.
SVN revision: 61057
2011-07-05 16:59:23 +00:00
Hyoyoung Chang eaa1afc111 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] [patch] elm_win - add continuous capturing screen

I've made a patch about elm_win.

Adding repeat option to support continuous capturing the screen.

Repeat range is can set from 1 to 999.

Filename is set like "filename001.png"



SVN revision: 61034
2011-07-05 08:17:39 +00:00
Daniel Juyung Seo d2948b18a5 Elm win: Added more docs.
SVN revision: 60181
2011-06-10 07:35:07 +00:00
Carsten Haitzler c2aa47426f and remove double callback calls! aaagh. changes didnt see the subtle
differences in the cb names!



SVN revision: 60178
2011-06-10 07:22:27 +00:00
Carsten Haitzler af679f1cc7 hmm conflict not merged right. fix.
SVN revision: 60177
2011-06-10 07:08:34 +00:00
Carsten Haitzler 3a0f6adfe1 dont add to win resize objs if alread one
SVN revision: 59605
2011-05-23 01:24:43 +00:00
Daniel Juyung Seo c94f5ac6a6 Elementary: Removed trailing whitespaces.
/me spanks raster. Raster has begun to like whitespaces recently.


SVN revision: 59544
2011-05-20 00:43:05 +00:00
Carsten Haitzler d0c2e7f982 some docs on how to use the shot engine.. and other engines for elm
for testing.



SVN revision: 59435
2011-05-16 02:48:39 +00:00
ChunEon Park 0c8d182135 elementary/win - just removed white space
SVN revision: 59357
2011-05-13 02:50:00 +00:00
Carsten Haitzler 4d8465f5f1 elm can now set vsync for gl windows/clients
SVN revision: 59321
2011-05-11 09:06:59 +00:00
Daniel Juyung Seo 94cce60218 Elementary: Removed trailing whitespaces.
SVN revision: 59260
2011-05-07 08:37:47 +00:00
Carsten Haitzler 6fe1fd61a7 allow elm to auto-screenshot and save windows all by itself just with
a special elm_engine var - great way to auto-generate screenies from
apps and change config/theme and everything automatically (via scripts
etc.)



SVN revision: 59185
2011-05-04 10:09:59 +00:00
ChunEon Park 9420b44918 elementary/segment_control, panes, photocam, photo, win, toolbar, thumb, slideshow, spinner - updated signal callbacks.
made them use signal callbacks description table. 
removed never-called signals
updated doxygen. 




SVN revision: 58816
2011-04-22 00:42:32 +00:00
Daniel Juyung Seo b1c1993845 Elementary: Removed trailing whitespaces.
SVN revision: 58754
2011-04-20 14:16:51 +00:00
Carsten Haitzler 3a8ae11c9b fix window posotioning when inlined
SVN revision: 58722
2011-04-19 01:53:19 +00:00
Carsten Haitzler 4361bc8bb4 fix up copy & paste with inlined win and a few other cnp nigglies.
also no unimplemented win times for now.



SVN revision: 58686
2011-04-15 11:18:30 +00:00
Carsten Haitzler 4c7b13444d copy from inlined wins works. copy to.. doesn't.
SVN revision: 58666
2011-04-14 13:51:12 +00:00
Carsten Haitzler 59f8230bb5 kbd input/fcosu works on inlined wins. wootsors
SVN revision: 58664
2011-04-14 12:47:16 +00:00
Daniel Juyung Seo 3d99ec3932 Elementary: Removed trailing white spaces.
SVN revision: 58661
2011-04-14 11:43:43 +00:00
Carsten Haitzler 315dc93196 mm.... new widget options/modes for win... u can put a window..
INLINED in another window. :) it's an image object. have fun!



SVN revision: 58657
2011-04-14 10:48:43 +00:00
ChunEon Park 902a467b7e Elementary / genlist, slider, radio, win toolbar, thumb, toggle, scroller, slideshow, spinner
updated signall callback list in each doxygen 



SVN revision: 58342
2011-04-05 02:04:28 +00:00
ChunEon Park 22588576be elementary/theme, widget, win, toolbar, thumb, toggle, util, box - removed white spaces
SVN revision: 58249
2011-04-01 11:20:18 +00:00
Carsten Haitzler 2fda5e577f listen to move events and track on override-redirect windows.
SVN revision: 58032
2011-03-23 13:29:26 +00:00