Enlightenment CVS committal Author : moom Project : e17 Module : proto
Dir : e17/proto/etk/data/themes/default/widgets Modified Files: Makefile.am combobox.edc menu.edc notebook.edc paned.edc tree.edc Log Message: * [Iconbox] Start to work on a new iconbox widget: it renders icons, clip them, resize is Ok... Selection still need to be implemented in order to be usable * [Widget] API change in the scroll_size_get function * [Widget] parent_set now automatically calls container_remove. It makes widget implementation easier and avoid having a widget referenced by two parent widgets * [Widget/Theme] Improve a lot the theme system. Now, widgets gets the same "theme context" as their parents. So changing the theme of a widget will also change the theme of its children. * [Stock] Add all the labels for the stock ids corresponding to the "actions" * [Icon theme] 48x48 icons of the "actions" dir are correctly converted from svg to png (still need to do that for other dirs) The Ok/Yes icon has also been changed to be more integrated with the other icons * [Button] Fix some bugs. Also, now when a button has no label (or an empty one), the image is centered * [H/Vbox] Now, cells with hidden children have no more padding/spading * [Tree] Tree now inherits from Etk_Widget which makes more sense than inheriting from Etk_Container * [Toplevel] Fix a segv in etk_toplevel_widget_pointer_pop * [String] Fix a bug in the insertion code of Etk_String * [Properties] Add a new type of property: ETK_PROPERTY_OTHER. It's useful if you want to know when the property value is changed via a notification callback * [Cache] Fix a bug in the cache system of edje objects * Some other small fixes, formatting, doc =================================================================== RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- Makefile.am 12 Mar 2006 23:48:56 -0000 1.1 +++ Makefile.am 7 Apr 2006 15:36:10 -0000 1.2 @@ -18,4 +18,5 @@ text_view.edc \ frame.edc \ scrollbar.edc \ - toggle_button.edc + toggle_button.edc \ + iconbox.edc =================================================================== RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/combobox.edc,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- combobox.edc 12 Mar 2006 12:13:01 -0000 1.3 +++ combobox.edc 7 Apr 2006 15:36:10 -0000 1.4 @@ -1,5 +1,5 @@ group { - name: "combobox"; + name: "combobox/button"; min: 0 32; data { item: "inset" "8 8 8 8"; @@ -42,6 +42,7 @@ } part { name: "combo_arrow"; + mouse_events: 0; description { state: "default" 0.0; rel1 { @@ -378,7 +379,7 @@ } group { - name: "combobox_window"; + name: "combobox/window"; data { item: "inset" "2 2 2 2"; } @@ -448,46 +449,10 @@ } } } - /*parts { - part { - name: "border"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 255; - rel1 { - relative: 0 0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - part { - name: "background"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - rel1 { - relative: 0 0; - offset: 1 1; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -2; - } - } - } - }*/ } - group { - name: "combobox_item"; + name: "combobox/combobox_item"; data { item: "inset" "4 4 4 4"; } @@ -531,79 +496,6 @@ source: ""; action: STATE_SET "default" 0.0; target: "item_bg"; - } - } -} - -group { - name: "combobox_window"; - data { - item: "inset" "8 8 8 8"; - } - parts { - part { - name: "window_bg1"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - color: 221 221 221 255; - rel1 { - relative: 0.0 1.0; - offset: 1 0; - to_y: "window_bg2"; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -2; - } - } - } - part { - name: "window_bg2"; - mouse_events: 0; - description { - state: "default" 0.0; - max: 99999 48; - align: 0.5 0.0; - rel1 { - relative: 0.0 0.0; - offset: 1 1; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -2; - } - image { - normal: "background.png"; - } - fill { - smooth: 0; - } - } - } - part { - name: "window_bg_border"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "border.png"; - border: 1 1 1 1; - middle: 0; - } - fill { - smooth: 0; - } - } } } } =================================================================== RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/menu.edc,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- menu.edc 4 Mar 2006 23:29:46 -0000 1.7 +++ menu.edc 7 Apr 2006 15:36:10 -0000 1.8 @@ -68,7 +68,7 @@ } } group { - name: "menu_item"; + name: "menu/menu_item"; parts { part { name: "item_rect"; @@ -656,7 +656,7 @@ } } group { - name: "menu_bar_item"; + name: "menu_bar/menu_item"; parts { part { name: "item_rect"; @@ -1110,7 +1110,7 @@ } } group { - name: "menu_check"; + name: "menu_item/checkbox"; parts { part { name: "check"; @@ -1158,7 +1158,7 @@ } } group { - name: "menu_radio"; + name: "menu_item/radiobox"; parts { part { name: "radio"; @@ -1206,7 +1206,7 @@ } } group { - name: "menu_separator"; + name: "menu/separator"; parts { part { name: "separator"; =================================================================== RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/notebook.edc,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- notebook.edc 4 Mar 2006 23:29:46 -0000 1.5 +++ notebook.edc 7 Apr 2006 15:36:10 -0000 1.6 @@ -1,5 +1,5 @@ group { - name: "notebook_tab"; + name: "notebook/tab"; min: 20 26; parts { part { @@ -186,7 +186,7 @@ } } group { - name: "notebook_frame"; + name: "notebook/frame"; data { item: "inset" "6 6 6 6"; } =================================================================== RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/paned.edc,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- paned.edc 20 Dec 2005 18:25:27 -0000 1.5 +++ paned.edc 7 Apr 2006 15:36:10 -0000 1.6 @@ -1,5 +1,5 @@ group { - name: "hpaned"; + name: "hpaned/separator"; min: 7 60; parts { part { @@ -92,7 +92,7 @@ } group { - name: "vpaned"; + name: "vpaned/separator"; min: 60 7; parts { part { =================================================================== RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/tree.edc,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- tree.edc 28 Mar 2006 07:24:57 -0000 1.15 +++ tree.edc 7 Apr 2006 15:36:10 -0000 1.16 @@ -1,5 +1,5 @@ group { - name: "tree"; + name: "tree/grid"; data { item: "inset" "8 8 8 8"; item: "separator_color" "204 204 204 140"; @@ -9,7 +9,7 @@ } parts { part { - name: "tree"; + name: "border"; description { state: "default" 0.0; rel1 { @@ -23,14 +23,31 @@ image { normal: "tree.png"; border: 8 8 8 8; + middle: 0; } fill { smooth: 0; } } } - FOCUS_GLOW(0.0, 0.0, -1, -1, "tree", 1.0, 1.0, 0, 0, "tree") - DRAG_GLOW(0.0, 0.0, -1, -1, "tree", 1.0, 1.0, 0, 0, "tree"); + part { + name: "middle"; + type: RECT; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: 8 8; + } + rel2 { + relative: 1.0 1.0; + offset: -9 -9; + } + } + } + FOCUS_GLOW(0.0, 0.0, -1, -1, "border", 1.0, 1.0, 0, 0, "border") + DRAG_GLOW(0.0, 0.0, -1, -1, "border", 1.0, 1.0, 0, 0, "border"); } programs { program { @@ -66,7 +83,7 @@ } } group { - name: "tree_row"; + name: "tree/row"; parts { part { name: "row"; @@ -154,7 +171,7 @@ } } group { - name: "tree_expander"; + name: "tree/expander"; parts { part { name: "expander_arrow"; @@ -205,7 +222,7 @@ } } group { - name: "tree_header"; + name: "tree/header"; data { item: "inset" "5 5 5 5"; } @@ -224,7 +241,7 @@ } image { normal: "tree_header_inactive.png"; - border: 2 2 2 3; + border: 2 2 2 2; } fill { smooth: 0; @@ -235,6 +252,7 @@ inherit: "default" 0.0; image { normal: "tree_header_active.png"; + border: 2 2 2 8; } fill { smooth: 0; @@ -260,7 +278,7 @@ } } group { - name: "tree_checkbox"; + name: "tree/checkbox"; min: 20 20; parts { part { ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs