Commit Graph

331 Commits

Author SHA1 Message Date
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
Christopher Michael a0a33a0191 Elementary: Patch from Jihoon Kim to add missing window types.
Elementary was missing window types for dropdown_menu, popup_menu,
tooltip, notification, combo, and dnd. This patch adds the missing
types into the enum and elm_win code.



SVN revision: 57992
2011-03-22 15:46:52 +00:00
Carsten Haitzler 36e246b816 fix shutdown+init cycle with deferred win free
SVN revision: 57654
2011-03-10 06:35:33 +00:00
Carsten Haitzler fd4b1a0306 make the writing of a softkey much easier - you dont need ecore_x.
it's wrapped and hidden. simpler.



SVN revision: 57120
2011-02-17 10:56:32 +00:00
Tiago Rezende Campos Falcao 1a5f6583b8 Removing unused var. auto-SPANK
SVN revision: 55457
2010-12-10 17:16:59 +00:00
Tiago Rezende Campos Falcao 85ebff4c1d InWin grab focus chain while activated.
SVN revision: 55409
2010-12-09 13:07:43 +00:00
Carsten Haitzler 5400a9a7f1 elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their
children).



SVN revision: 54169
2010-11-05 08:37:31 +00:00
Gustavo Lima Chaves 6e5d1db8ce Fallbacking to software X11 on all engines, now.
SVN revision: 54083
2010-11-01 21:10:21 +00:00
Gustavo Lima Chaves e667a17bc8 Switching elm config's engine variable from enum to string ptr.
SVN revision: 54081
2010-11-01 21:10:07 +00:00
Tiago Rezende Campos Falcao 116cd3c6dc Setters/Getters fix 1.
Setters can't receive const pointers.
All setter need corresponding getter.

In this patch, i adjust getter in: Bg, Box, Icon, Image, Win and Main.

SVN revision: 53917
2010-10-27 14:38:37 +00:00
Carsten Haitzler beb56366a4 keep flush sequence consistent.
SVN revision: 53792
2010-10-23 01:00:46 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Tiago Rezende Campos Falcao 6bea70c4e4 Improve Focus manager.
In Window show, the focus is given to first focusable object, or to
window if no exist focusable object. So, suggest create the widgets
before show the window.

If pager is focused, it give the focus to top page in each promote.

SVN revision: 53733
2010-10-21 18:58:43 +00:00
Tiago Rezende Campos Falcao e24786292f CTRL+F12 generate dot dump file in DEBUG
SVN revision: 53660
2010-10-20 12:38:30 +00:00
Bruno Dilly a109dce782 Fix some wextra complains on elm lib
SVN revision: 53635
2010-10-19 18:24:27 +00:00
Tiago Rezende Campos Falcao 738bfaa747 Review of content setters, getters and unsetters
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.

SVN revision: 53425
2010-10-14 18:54:42 +00:00
Iván Briano b1b802bd7b Fix typo.
I mean, update highlight object to follow focused object properly.


SVN revision: 53376
2010-10-13 18:58:29 +00:00
Christopher Michael 1ccf076e76 Add UNUSED where needed.
SVN revision: 53282
2010-10-12 03:42:01 +00:00
Tiago Rezende Campos Falcao 9ff54ffc12 Fix event propagation in elementary.
Need set ON_HOLD, and check it.

SVN revision: 53194
2010-10-08 16:27:04 +00:00
Tiago Rezende Campos Falcao d959e612eb Adding custom chain to focus.
Added set, get, unset, prepend and append (relative or not).

Set - overwrite the custom chain
Unset - Delete the custom chain
Get- Return the custom chain
Append - append after the relative object or in the end
Prepend - prepend before the relative object or in the start

SVN revision: 53115
2010-10-06 20:24:22 +00:00
Tiago Rezende Campos Falcao ef18ffa4f4 Set const where need in focus_next_get functions set
SVN revision: 53114
2010-10-06 20:24:19 +00:00
Tiago Rezende Campos Falcao 434ed6e093 Adding elm_widget_focus_cycle method
This will cycle focus inside the sub-tree of one object.

SVN revision: 53113
2010-10-06 20:24:16 +00:00
Tiago Rezende Campos Falcao 198ca1fd95 Rename focus method from cycle to next_get
SVN revision: 53112
2010-10-06 20:24:13 +00:00
Tiago Rezende Campos Falcao c3e3585e83 Optimized Linear Focus Chain
Before, the focus_cycle try pass the focus to next, and try again if
need loop the objects. Now, the focus cycle return possible next
object and if is necessary loop or not to focus this returned object.

SVN revision: 53111
2010-10-06 20:24:09 +00:00
Iván Briano 4cc43413ae Kill job when shutting down highlight
SVN revision: 53104
2010-10-06 16:42:46 +00:00
Iván Briano f752f225b8 And set/get style for highlight as well
SVN revision: 53032
2010-10-04 17:34:35 +00:00
Iván Briano e8ef45befb Focus highlight kinda configurable. More to come when discomfitor feels like implementing it
SVN revision: 53031
2010-10-04 16:55:32 +00:00
Iván Briano 92c9171d37 More sane handling of current/previous stuff on highlight
And more ridicoulesness to the theme, to force someone to do something decent


SVN revision: 53028
2010-10-04 12:48:15 +00:00
Tiago Rezende Campos Falcao e29b0b64b4 Adding focus cycle hook to Inwin and Frame.
SVN revision: 52960
2010-10-01 19:02:58 +00:00
Tiago Rezende Campos Falcao 8ca4d18a0b Fixing can_focus to the widgets
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

widgets:
anchorblock:    can_focus = EINA_TRUE
anchorview:     can_focus = EINA_TRUE
fileselector:   can_focus = EINA_FALSE
hoversel:       can_focus = EINA_FALSE
notepad:        can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble:         can_focus = EINA_FALSE
calendar:       can_focus = EINA_TRUE
clock:          can_focus = EINA_TRUE
conformant:     can_focus = EINA_FALSE
flip:           can_focus = EINA_FALSE
frame:          can_focus = EINA_FALSE
gengrid:        can_focus = EINA_TRUE
genlist:        can_focus = EINA_TRUE
index:          can_focus = EINA_FALSE
list:           can_focus = EINA_TRUE
layout:         can_focus = EINA_FALSE
map:            can_focus = EINA_TRUE
mapbuf:         can_focus = EINA_FALSE
menu:           can_focus = EINA_FALSE
notify:         can_focus = EINA_FALSE
pager:          can_focus = EINA_FALSE
panes:          can_focus = EINA_FALSE
progressbar:    can_focus = EINA_FALSE
photocam:       can_focus = EINA_TRUE
scroller:       can_focus = EINA_TRUE
table:          can_focus = EINA_FALSE
thumb:          can_focus = EINA_FALSE
win:            can_focus = EINA_FALSE

SVN revision: 52888
2010-09-29 12:22:30 +00:00
Carsten Haitzler b1a68bdb5f at least support software-x11-8 engine - in theory.
SVN revision: 52868
2010-09-28 22:43:48 +00:00
Iván Briano 2e92cbfc96 Killed the bottom object. It will come back once the stacking issues are resolved or decided how to handle.
But that's minor and non-important, the real deal here is animating the focus highlight object, entirely in the theme.


SVN revision: 52853
2010-09-28 16:54:11 +00:00
김지훈 d99918389f From: 김지훈 <imfine98@gmail.com>
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.



SVN revision: 52839
2010-09-28 04:28:14 +00:00
Bruno Dilly 89f23acadc Remove some dead assignments from elementary
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Iván Briano 4b75917e42 Begone! Evil trailing spaces from hell!
SVN revision: 52692
2010-09-24 16:41:25 +00:00
Tiago Rezende Campos Falcao 113ad55d2e Focus Linear Chain for some Widgets
Containers implemented (and with test):
* Win
* Box
* Scroller
* Layout
* Panel

SVN revision: 52686
2010-09-24 14:47:59 +00:00
Tiago Rezende Campos Falcao 4743f7f5b5 Modify elm_win to receive events
When no objects have focus, elm_win need get it.

SVN revision: 52685
2010-09-24 14:47:55 +00:00
Iván Briano 7255d69dc1 Highlight in theme wins over generic object
Still needs stuff done in themes and widgets code to make it functional.
It will start coming tomorrow morning. (My morning)



SVN revision: 52608
2010-09-22 22:33:57 +00:00
Iván Briano 6879d7fdad Begins highlight on focused object.
There's still work to do here, particularly in the theme, but it has
something nice and fun to see the code working.
The idea behind this:
Window tracks focused object and sends the highlight object(s) to it. These
are simple edje objects, one on top, one below the focused widget for nice
effects. Widgets can choose to ignore the highlight and this will be sent to
the parent object, if it doesn't ignore it as well.
About the bottom object, it doesn't work now. For the most part, focused
widget will always be a member of some smart object, so stacking won't work
and the desired effect is nowhere to be seen. This will be worked out later.
To be done now:
 - Let the theme for a widget define its own highlight, disabling if needed
 the standard one for those objects.
 - Needed base in code to allow animations when switching focus. All in theme.
 - Properly test all widgets and fix some things that will most likely work
 in weird ways, given the nature of Evas/Edje and how Elementary makes use
 of them.
 - Forgot the rest, stay tuned, test, report, give ideas, plant a tree.

Work started by glima, continued with some refactors by me when he
decided he needed vacations.


SVN revision: 52524
2010-09-20 22:18:58 +00:00
Iván Briano 4b90f34b10 Avoid losing the reference to the parent object
Calling resize_object_del() when a resize_object died calls
elm_widget_sub_object_del(), which sets the parent of the (now dead)
widget to NULL. The problem is that this breaks some of the
stuff done in the smart_del() method in the smart class for widgets,
like reverting focus to whoever held it previously.



SVN revision: 52387
2010-09-17 22:10:04 +00:00
Lucas De Marchi 3e8419285d Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful



SVN revision: 52009
2010-09-09 00:35:43 +00:00
Lucas De Marchi c6a4ea9d2f Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Iván Briano 99ff1921a9 Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49706
2010-06-16 20:58:09 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Vincent Torri 86d5c41583 * remove shadow declarations
* missing initializer in Evas_Smart_Class (the data field was missing)


SVN revision: 48197
2010-04-21 07:46:03 +00:00
Carsten Haitzler 7aceaa4a41 support flush and dump protocol - also add call to do this by requuest from
the app itself.



SVN revision: 47949
2010-04-12 08:27:10 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Carsten Haitzler 31c4f0349c 1. if window is transient for another.. if parent del - nuke reference to it
in transient.
2. addd flush button in genlist test - for exposing memory issues.



SVN revision: 47757
2010-04-05 04:58:43 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Carsten Haitzler ca93701c55 remove deprecated calls (been deprecated for a while now)
SVN revision: 47100
2010-03-10 07:21:10 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler 6792e2db2c warning fix 1. :)
SVN revision: 47074
2010-03-09 07:30:48 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Christopher Michael debae61a2d Updates to elm_conform and elm_win code for new illume2.
SVN revision: 46288
2010-02-19 02:33:17 +00:00
Carsten Haitzler 95a21ab82c be more robust and fall baack to software x11 engine - but warn.
SVN revision: 46230
2010-02-17 02:15:52 +00:00
이상진 1ed46d09fb From: 이상진 <lsj119@samsung.com>
I am attaching another patches for transparent window.

1. Use RGB Visual.
2. Set destination_alpha in ecore_evas for alpha composite in evas.
3. add Function
   - Ecore_Evas_Engine_Func->fn_transparent_set
   - ecore_evas_transparent_set , ecore_evas_transparent_get
   - elm_win_transparent_set, elm_win_transparent_get




SVN revision: 46106
2010-02-12 05:31:26 +00:00
Vincent Torri e939816544 fix returned values
SVN revision: 46081
2010-02-11 16:13:41 +00:00
이상진 957fc1e3e2 From: 이상진 <lsj119@samsung.com>
Patch for rotate with resize

(some formatting fixed too like ecore patch)



SVN revision: 46047
2010-02-10 14:38:08 +00:00
Gustavo Sverzut Barbieri 195f67f0f9 delete trailing whitespace.
SVN revision: 46003
2010-02-09 03:04:18 +00:00
Christopher Michael 35ab7b4144 Add Doxy for illume stuff.
SVN revision: 45937
2010-02-06 17:31:09 +00:00
Christopher Michael 075108fc10 Don't set window type here. Causes problems w/ layout.
SVN revision: 45934
2010-02-06 16:56:18 +00:00
xcomputerman 8cf715a619 OpenGL/SDL support (still buggy, but probably not elm's fault)
SVN revision: 45880
2010-02-04 18:34:44 +00:00
Christopher Michael 708ca2cb9f If we are setting the window as a quickpanel, set some other properties also
(focus, window type, skip_pager, etc).

Add function for setting quickpanel zone (zone integer being 0-based).



SVN revision: 45529
2010-01-24 20:05:09 +00:00
Christopher Michael 5a719b953d Add elm_win functions for get/set of quickpanel priorities.
SVN revision: 45511
2010-01-24 10:21:54 +00:00
Christopher Michael 23a8daed87 Add elm_win function(s) for get/set of quickpanel.
SVN revision: 45510
2010-01-24 10:12:57 +00:00
Lionel Landwerlin b73c6c1aec From: Lionel Landwerlin <llandwerlin@gmail.com>
Subject: [E-devel] [PATCH] Elementary: Added directfb support



SVN revision: 45331
2010-01-19 15:34:24 +00:00
Christopher Michael 94686d2f80 Move conformant calls to elm_win_conformant_get/set.
SVN revision: 45161
2010-01-15 05:17:54 +00:00
xcomputerman 9e644e73a2 Add in SDL support (needed for WebOS). Admittedly this has not been actually checked out yet,
but it will be shortly and it does no evil


SVN revision: 45080
2010-01-13 08:17:15 +00:00
Carsten Haitzler 958aad8241 fix swallows to happen after u added hint change cb
SVN revision: 44245
2009-12-07 14:19:20 +00:00
Gustavo Sverzut Barbieri 0feec55afb elm_policy_set() and friends. easy way to quit app when last window is closed.
SVN revision: 44090
2009-12-01 13:32:48 +00:00
Carsten Haitzler 07eee5720e use all dem cursor api's... and module it up bro
SVN revision: 44088
2009-12-01 11:03:14 +00:00
Christopher Michael 0df0cad61d Fix variable declarations for naughty compilers.
SVN revision: 43711
2009-11-15 16:03:52 +00:00
Christopher Michael f2bc714d81 Formatting.
Reduce potential register usage.
No need to always set edje frametime when creating a window (NB: This was
getting done for every window)
No need to always set edje scale when creating a window (NB: This was
getting done for every window)
Don't need to get the Widget_Data in changed_size_hints as it's not used.
Use EVAS_HINT_EXPAND/FILL



SVN revision: 43694
2009-11-15 01:51:39 +00:00
Gustavo Sverzut Barbieri 7424d452f8 let's save some function calls.
Actually those should not be multiple calls on GCC that supports
functions attributes, but it does not hurt and code is a bit smaller
and easier to read.



SVN revision: 43680
2009-11-13 22:18:01 +00:00
Carsten Haitzler 66f7668004 1. fix window size hint update. somehow this broke with recent changes.
2. fix frame and pager - for some reason there is a neww to re-swallow.
baffles me why!



SVN revision: 43293
2009-10-26 08:27:08 +00:00
Jonathan Atton 7be1d94aa2 Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Davide Andreoli bbb976c85a * Revert my previous commit, the correct way to set the style of a widget is to use elm_object_style_set.
* Mark all the remaining elm_*_style_set() as deprecated.
 * Some whitespaces
 

SVN revision: 43095
2009-10-15 13:18:11 +00:00
Carsten Haitzler c3ccf673e8 1. add signal emits for scrolling in photocam
2. standardise all callback names to be x,y,z etc. if they have multiple words.
3. add cal to get the region viewed
4. test photocams signals and new call



SVN revision: 43069
2009-10-14 08:41:36 +00:00
Davide Andreoli 286653bb37 * Implement some elm_win_*_get() functions
SVN revision: 43034
2009-10-12 09:09:55 +00:00
Carsten Haitzler e2bb0e987f use exposed api call!
SVN revision: 42961
2009-10-08 14:29:38 +00:00
Carsten Haitzler a4996f90ae 1. remove excess swallows - now edje handles that itself
2. beforfe show.. calc first so initial windowis the right size!



SVN revision: 42953
2009-10-08 05:26:58 +00:00
Gustavo Sverzut Barbieri 421e333b9a oops!
SVN revision: 42411
2009-09-11 14:36:10 +00:00
Gustavo Sverzut Barbieri 0d07a5208a elm using logging, please use new macros.
SVN revision: 42409
2009-09-11 14:21:58 +00:00
Gustavo Sverzut Barbieri 5af0125a30 proper check of elm_win object types.
This allows using elm stuff inside regular evas windows not created
with elm_win and possible mistakes using elm_win api, now it checks
for elm type before continuing.

By: Thiago 'bolaum' Borges Abdnur.


SVN revision: 41651
2009-08-09 22:23:46 +00:00
Vincent Torri e2be9d2b24 remove trailing spaces
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Cedric BAIL 29adfe9fc8 * elementary: Full switch to Eina data type.
SVN revision: 41081
2009-06-17 15:35:19 +00:00
Vincent Torri bc87c3d18f use the gdi engine on Windows. It has better rotation support.
This means that i have to fix ddraw engine :)


SVN revision: 40961
2009-06-08 07:07:21 +00:00
Carsten Haitzler 26b4f340b6 actually give widgets type name strings and set parent by default
SVN revision: 40618
2009-05-13 12:21:52 +00:00
Carsten Haitzler e74b5f1cb7 use more rediculously big double
SVN revision: 40525
2009-05-06 12:41:23 +00:00
Carsten Haitzler 73f3de55f4 patch from victor to make styles generic - not all widgets support them
tho... but calls to set style are now. old calls are left in place, but
likely will be phased out.



SVN revision: 40317
2009-04-23 04:03:27 +00:00
Carsten Haitzler b4d9964e70 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Gustavo Sverzut Barbieri 4fe27de5ea actually enable netwm window type set, simplify code.
SVN revision: 40071
2009-04-15 02:08:07 +00:00
Gustavo Sverzut Barbieri 75431ef347 add other Netwm window types, good for launcher ;-)
SVN revision: 39957
2009-04-11 04:54:12 +00:00
Gustavo Sverzut Barbieri b9670eb461 focus in/out signals.
SVN revision: 39860
2009-04-04 16:58:28 +00:00
Gustavo Sverzut Barbieri 557a0c1f98 couple of changes and addition.
* list: export label and base object for items

 * list: per-item delete function, cleanup associated data.

 * list: clear.

 * couple of functions return success or failure.

 * win: sticky, lower and raise




SVN revision: 39845
2009-04-03 21:52:01 +00:00
Carsten Haitzler e730cb0364 indent tree items... not perfect... but good
add rotation api call.



SVN revision: 39480
2009-03-14 18:03:19 +00:00
Carsten Haitzler 6e0c99e69f fixes for some bugs i found, tree ability in genlist (basic not fully done
visually yet), and some win util calls added.



SVN revision: 39456
2009-03-13 05:50:38 +00:00
Gustavo Sverzut Barbieri d1d91b99df Move eina list iterations to EINA_LIST_FOREACH variants.
By using these macros we can avoid errors and if we need to change
things, we do just in the macro definitions.



SVN revision: 39216
2009-02-25 19:50:45 +00:00
Gustavo Sverzut Barbieri 2e62b41b1b major warning + cast cleanup.
* casts: remove internal "Item" and use "Elm_XXXX_Item" for carousel,
   list, genlist and toolbar.

 * warning: fix const on lots of getter apis, the object should be
   const, and not the return! Of course lists that are returned and
   are not supposed to be modified are still returned as const, but
   maybe we should return iterators!

 * list/genlist: fix selected_set() to be a bit (marginally)
   faster. Do not operate if state has not changed and if it did
   changed we're sure we're not in the object->selected list.




SVN revision: 39208
2009-02-25 15:54:26 +00:00
Carsten Haitzler 4aff7b184a handle errors and use eina error print.
SVN revision: 39066
2009-02-18 00:29:07 +00:00
Carsten Haitzler 1d36bea662 use new fill mode, fix bug in object tracking and deletion - nasty one. more
genlist work too.



SVN revision: 39021
2009-02-15 02:53:56 +00:00
Carsten Haitzler 77a09c957a env vars for font path, image and font cache and even font hintingt
SVN revision: 38914
2009-02-03 10:27:52 +00:00
Carsten Haitzler 2706ed3038 add styles for inwin for mininmal and minimal_vertical
SVN revision: 38821
2009-01-28 00:28:20 +00:00
Vincent Torri c5d296b658 add Windows XP support
SVN revision: 38701
2009-01-22 21:43:07 +00:00
Vincent Torri 478ebffb67 Windows CE: use the gdi engine for now
SVN revision: 38537
2009-01-10 14:48:30 +00:00
Carsten Haitzler c67ff552a6 printf--
SVN revision: 38369
2008-12-31 01:03:36 +00:00
Carsten Haitzler f05d05fc0e better kbd focus handling and inwin is there.
SVN revision: 38357
2008-12-30 16:19:46 +00:00
Carsten Haitzler e553171d01 use the associate ecore_evas stuff.
SVN revision: 38226
2008-12-19 14:32:59 +00:00
Carsten Haitzler b3aab18f67 and vtorri's wince support for elementary. god forbid. we support windows! :)
SVN revision: 38214
2008-12-19 00:34:56 +00:00
Carsten Haitzler 2decf1c941 and now it actually buidls and runs without x support.
SVN revision: 38078
2008-12-10 06:43:21 +00:00
Carsten Haitzler 2a41db988e be able to build without x - so it should work on the fb.. and it does... at
leats my mouse and keyboard do - and windows are fullscreen of course... and
really you have a technical limit of 1 window... but hey! that's the fb!



SVN revision: 38077
2008-12-10 06:33:24 +00:00
Carsten Haitzler e461806172 x copy and paste... integrated
SVN revision: 37706
2008-11-19 06:23:08 +00:00
Carsten Haitzler 8e9f6b8fbc more todo items done/added
SVN revision: 37702
2008-11-18 10:11:57 +00:00
Carsten Haitzler 08c021a0c6 handle changes in scaling... a bit...
SVN revision: 37654
2008-11-15 06:09:04 +00:00
Carsten Haitzler 6f493e0ee1 so much more - valgrind complaints fixed in many places, leaks
and anchorblock/view are working...



SVN revision: 37081
2008-10-25 02:11:06 +00:00
Cedric BAIL 2d9ac9118b Remove Evas list from elementary.
SVN revision: 36979
2008-10-22 14:11:59 +00:00
Carsten Haitzler 19d1c80dcf go back to expose damage avoid
SVN revision: 36722
2008-10-16 14:19:37 +00:00
Carsten Haitzler a337a70cea add background pixmaps to elm - faster draw/redraw on embedded :) (well..
expose events are less of a problem with latency. let's see how it looks).



SVN revision: 36715
2008-10-16 12:03:01 +00:00
Carsten Haitzler e8ef0d8bab new elm api - more evas liek and evas/edje freindly. i can mvoe forward now.
SVN revision: 36487
2008-10-07 01:23:49 +00:00
Carsten Haitzler 51123a3452 elementary becomes its own tree/lib/test binary
SVN revision: 36343
2008-09-30 06:58:56 +00:00