Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/data/themes Modified Files: e17.edc Log Message: - get rid of ewl_button_stock.[ch]. If you want a stock button you do: b = ewl_button_new(); ewl_button_stock_type_set(EWL_BUTTON(b), EWL_STOCK_OK); and thats it. You can then attach a click callback to the button and in the callback do ewl_button_stock_type_get(EWL_BUTTON(b)); to get the type of the button. Non-stock buttons have type EWL_STOCK_NONE. - cleanup Ewl_Dialog. This gets rid of all the api for adding buttons and replaces it with ewl_dialog_active_area_set(). You specify which part of the dialog is active and just use the container functions to append into it. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/data/themes/e17.edc,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e17.edc 9 Oct 2005 22:58:35 -0000 1.4 +++ e17.edc 10 Oct 2005 15:27:10 -0000 1.5 @@ -16,6 +16,7 @@ #include "e17/bits/paned-groups.edc" #include "e17/bits/progressbar-groups.edc" #include "e17/bits/scrollbar-groups.edc" +#include "e17/bits/stock-groups.edc" #include "e17/bits/tree-groups.edc" #include "e17/bits/separator-groups.edc" #include "e17/bits/window-groups.edc" @@ -50,6 +51,23 @@ item, "/progressbar_bar/group" "progressbar_bar"; item, "/progressbar/group" "progressbar"; + item, "/stock/apply" "stock/apply"; + item, "/stock/arrow/down" "stock/arrow/down"; + item, "/stock/arrow/left" "stock/arrow/left"; + item, "/stock/arrow/right" "stock/arrow/right"; + item, "/stock/arrow/up" "stock/arrow/up"; + item, "/stock/cancel" "stock/cancel"; + item, "/stock/ff" "stock/ff"; + item, "/stock/home" "stock/home"; + item, "/stock/ok" "stock/ok"; + item, "/stock/open" "stock/open"; + item, "/stock/pause" "stock/pause"; + item, "/stock/play" "stock/play"; + item, "/stock/quit" "stock/quit"; + item, "/stock/rewind" "stock/rewind"; + item, "/stock/save" "stock/save"; + item, "/stock/stop" "stock/stop"; + item, "/combo/button_decrement/group" "vscroll-down"; item, "/combo/button_increment/group" "vscroll-up"; item, "/spinner/button_decrement/group" "vscroll-down"; ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs