Commit Graph

1562 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 475318f728 allow theme of fileselector_entry components.
Right now I'm abusing style, setting fileselector_entry/$style on
items, however if it's not found the fallback will be 'default' and
not 'fileselector_entry/default' as it should be.

I'm wondering if this should be implemented in elm_theme.c by
replacing the last '/$component' with '/default', the remove it and
try again, like:

{{{
        input = a/b/c
        pass1 = a/b/default
        pass2 = a/b
        pass3 = a/default
        pass4 = a
        pass5 = default
}}}



SVN revision: 53423
2010-10-14 18:24:24 +00:00
Christopher Michael a1128c6d91 Make elm build again (remove duplicated function declarations which
had different params) ... come on people, at least build your code
before committing



SVN revision: 53422
2010-10-14 18:18:34 +00:00
Tiago Rezende Campos Falcao cafc4b9e19 Removing unused variables
SVN revision: 53421
2010-10-14 17:58:01 +00:00
Tiago Rezende Campos Falcao bd97572adf Alloc the data before registry it as callback data.
SVN revision: 53420
2010-10-14 17:57:58 +00:00
Tiago Rezende Campos Falcao acd34bbc82 Adding new toolbar api to correct .h
Acidx maybe added the new API in Elementary.h, but this should be done
in Elementary.h.in

SVN revision: 53419
2010-10-14 17:57:55 +00:00
Lucas De Marchi 9b6f644fc6 Fix make distcheck
By: Peter van de Werken <pwerken-e@a-eskwadraat.nl>



SVN revision: 53416
2010-10-14 17:21:59 +00:00
Leandro Pereira 866201fb94 [Elementary] Fix style issues in Elm_Toolbar that managed to slip in my previous commit.
SVN revision: 53412
2010-10-14 16:50:05 +00:00
Leandro Pereira 5c10641510 [Elementary] Use themeable icons in Elm_Toolbar.
This allows having themeable icons for toolbar items -- inclusing lower
resolution ones for the More menu button. Changes to Elm_Menu_Item in the
same spirit will follow.

SVN revision: 53407
2010-10-14 15:27:31 +00:00
Leandro Pereira 00c778f00b [Elementary] Implement priority in Elm_Toolbar.
Toolbars can now be scrollable, non-scrollable, or hide icons selectively
according to a priority.  This changed the API slightly, thus

   elm_toolbar_scrollable_set(obj, 1)

Should be

   elm_toolbar_mode_expand_set(obj, ELM_TOOLBAR_EXPAND_SCROLL)

Values for non-scrollable and scrollable remain the same, so if constants
aren't being used, just the function name should be changed.

The new mode, ELM_TOOLBAR_EXPAND_MENU, will create a menu of items when the
space isn't large enough to hold all the items.  Which items will be kept on
the toolbar or which items will be added to the menu is controlled by the
priority of each item: higher ones will be kept if possible, lower ones will
be tratored on the first opportunity.

SVN revision: 53406
2010-10-14 15:27:25 +00:00
Bruno Dilly fcccd7dd5a Clean elm of null pointers dereferences
SVN revision: 53399
2010-10-14 14:12:26 +00:00
Bruno Dilly 294fa1d974 Clean elm of undefined assigned values
SVN revision: 53398
2010-10-14 14:11:53 +00:00
Bruno Dilly 21e71c932e Fix typo on cnp_helper :)
SVN revision: 53397
2010-10-14 14:11:15 +00:00
Bruno Dilly 9fa9c659e5 Remove dead assignments from elementary
The only one remaining is on index code, related to the not yet
implemented horizontal mode.



SVN revision: 53396
2010-10-14 14:10:33 +00:00
Bruno Dilly c7c7ceb547 Add list item check on tooltip and cursors functions
SVN revision: 53395
2010-10-14 14:09:49 +00:00
Carsten Haitzler fc0705fa49 missing some AUTHORS from patches put in.
rememebr... if your5 name is MISSING here... and you contributed...
and you WANT your name here.. provide it IN your patch... OR remember
to remind us that you are missing...

REMIND US!!!!!!!!!!!!!!!!



SVN revision: 53389
2010-10-14 03:51:58 +00:00
Gustavo Sverzut Barbieri 5fdee26795 box & table are handled in elm_layout.
so far they're just managing the lifetime of objects, same as swallow.



SVN revision: 53385
2010-10-14 02:36:37 +00:00
Gustavo Sverzut Barbieri cb2ebb9303 add elm_fileselector_entry
works, but focus chain is not giving focus to button.



SVN revision: 53384
2010-10-14 01:18:14 +00:00
Gustavo Sverzut Barbieri c50a1a4063 default layout improvements and fixes.
toolbar-content-back got and elm.swallow.end, on the opposite side of
"back".

removed "fixed: 1 1" errors.

checked with elementary_config changing finger size and scale, works nice!




SVN revision: 53383
2010-10-13 23:36:59 +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 2c7e5ca75f Fix typo (I believe the word is breaking) ;)
SVN revision: 53372
2010-10-13 17:50:20 +00:00
Bruno Dilly b02c54321a Ignore colorpreview.edj and fix colorpicker signals documentation
SVN revision: 53367
2010-10-13 17:38:35 +00:00
Vincent Torri 0dfde0078a [Elm_diskpicker] define MAX macro for those (poor Windows
developers) who don't have it

SVN revision: 53355
2010-10-13 13:39:24 +00:00
Carsten Haitzler 9ec9ce7585 typo---
SVN revision: 53351
2010-10-13 12:29:33 +00:00
Carsten Haitzler 4de21dcc19 lets set list to null after we free it and before we call funcs that
could call callbacks that access this freed list eh?



SVN revision: 53325
2010-10-13 00:41:00 +00:00
Gustavo Sverzut Barbieri 8f1ac9f202 couple of standard layout for apps to use.
These are the layouts I've seen in use, they're in B&W/Elm-default
mood, but in efenniht they should look like eve/enjoy.



SVN revision: 53318
2010-10-12 22:28:47 +00:00
Gustavo Sverzut Barbieri 5c03fe8b74 export missing toolbar_item method
SVN revision: 53317
2010-10-12 22:23:00 +00:00
Christopher Michael 3f1a015fb5 Don't use values that need computing for relative & offset as this
would cause the computation to be needed every time the widget
(colorpicker) gets moved/resized....just do the math and set the values.



SVN revision: 53315
2010-10-12 21:21:38 +00:00
Christopher Michael 6917435d00 Some colorpicker cleanups:
Don't need Ecore.h here, Elementary.h already includes it
  Fix formatting.
  Use #define for signal name rather than const char
  Initialize integer's with a value.
  Add 'changed' signal to Elementary.h so people know it emits changed
also.



SVN revision: 53314
2010-10-12 21:10:12 +00:00
Bruno Dilly 34fd688815 Elementary Colorpicker, widget designed to select a color.
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53313
2010-10-12 20:38:00 +00:00
Christopher Michael 76f7bd543e Default BG Plain test back to scaled....
Oopsie, that should not have been there.



SVN revision: 53309
2010-10-12 15:33:40 +00:00
Christopher Michael 6a3bfc1a6a Add 2 new options for bg image: Center & Stretch.
Add a new Test for BG Options.
Add a new 'bg_overlay' in objects/test.edc for testing bg overlay stuff.

NB: There is an issue here that I cannot seem to get straight (perhaps
pebkac, not sure)...but basically it seems that showing/hiding the
overlay causes the other swallows of the edc to get recalc'd and makes
the 'image' not work well w/ Center.



SVN revision: 53307
2010-10-12 14:38:46 +00:00
Christopher Michael 4595005550 Better name(s) for the bg option enum.
SVN revision: 53302
2010-10-12 10:30:32 +00:00
Christopher Michael c178a21aca Add ability for elm_bg to have a color rectangle.
Add ability for elm_bg to have 'overlays' such as animated fog, etc.
Normalize elm_bg internal object names:
  Rename wd->img to the more generic wd->base.
Remove erroneous evas_object_resize(wd->base, 0, 0) (not needed).
Fix typo in doxy comment.
Add doxy for new functions (color_set, overlay_set)
Add swallow part in edc for bg color rectangle.
Fix overlay swallow part offsets.



SVN revision: 53299
2010-10-12 08:46:17 +00:00
Christopher Michael 52ebe2e754 Make 'Tiled' actually do a tile :)
SVN revision: 53292
2010-10-12 04:34:42 +00:00
Christopher Michael 1921dd5802 Widget_Data gets passed to the _custom_resize callback as 'data'
already, so no need to refetch it.



SVN revision: 53291
2010-10-12 04:21:50 +00:00
Christopher Michael 042a9432d3 Add option for elm_bg to be Tiled, Scaled (more options to come).
SVN revision: 53290
2010-10-12 04:12:48 +00:00
Christopher Michael f0ec644467 Add UNUSED where needed.
Fix usage of UNUSED in _elm_cursor_del.
Use #define for string constant.
Fix formatting.



SVN revision: 53289
2010-10-12 04:07:27 +00:00
Christopher Michael 3255ee2148 Add UNUSED where missing.
Use #defines for string constants.
Fix up some formatting.



SVN revision: 53288
2010-10-12 04:02:47 +00:00
Christopher Michael c17b186326 Add UNUSED where missing.
Use #defines for string constants (less 'const char' variables being
used).
Fix formatting & whitespace where needed.



SVN revision: 53287
2010-10-12 03:59:30 +00:00
Christopher Michael 2b34e155b2 Add UNUSED where missing.
Only calculate scale once here and reuse it.
Fix formatting.



SVN revision: 53286
2010-10-12 03:53:03 +00:00
Christopher Michael baccf96db6 Add UNUSED where needed.
SVN revision: 53285
2010-10-12 03:47:07 +00:00
Christopher Michael a1a0cbc9c2 Add UNUSED where needed.
Fix some formatting snafus.



SVN revision: 53284
2010-10-12 03:46:11 +00:00
Christopher Michael 1ccf076e76 Add UNUSED where needed.
SVN revision: 53282
2010-10-12 03:42:01 +00:00
Christopher Michael 76f19fc03a String.h is already included via Elementary.h
SVN revision: 53280
2010-10-12 02:38:19 +00:00
Gustavo Sverzut Barbieri bf43a6d53c oops, important typo, thanks tiagofalcao
SVN revision: 53267
2010-10-11 17:55:28 +00:00
Rafael Fonseca fdcf18e462 Add safety checks to genlist and gengrid.
The insert_(before|after) functions require a relative item so let's check for
it and appropriately return if it is not given.



SVN revision: 53253
2010-10-11 02:09:36 +00:00
Rafael Fonseca 105aeb5967 Fix items alignment in Gengrid.
Now alignment works no matter whether the item is smaller than the grid or not.
Also added a spinner to Gengrid 2 test so we can see the alignment in action
for different item sizes.



SVN revision: 53252
2010-10-11 01:55:07 +00:00
Rafael Fonseca c2b339a567 Make Gengrid 2 test work with recent gengrid modifications.
Before changing gengrid internal to use inlist, passing a NULL item to
insert_before and insert_after functions would make them behave as prepend and
append respectively but now one would just get a SEGV. So test for a selected
item before doing anything ;)



SVN revision: 53251
2010-10-11 01:46:14 +00:00
Gustavo Sverzut Barbieri 77b6c7a816 bugs--
SVN revision: 53249
2010-10-11 01:03:37 +00:00
Gustavo Sverzut Barbieri ada8ac0f82 gengrid more genlist-like.
use inlist so we don't have to find stuff to operate on.

export more methods, like elm_gengrid_item_next_get(),
elm_gengrid_item_prev_get() and elm_gengrid_first_item_get() and elm_gengrid_last_item_get()... so we don't expose elm_gengrid_items_get().

People using the old elm_gengrid_items_get() should move to
elm_gengrid_first_item_get() and then next variant.



SVN revision: 53248
2010-10-10 23:54:11 +00:00