changeset 29:ffffd0cd3b59

removed prototype code
author Frank Benoit <benoit@tionex.de>
date Wed, 09 Jan 2008 03:05:22 +0100
parents 10acbb123580
children 5e5d1c9cffdb
files dwt/widgets/Widget.d todo.txt
diffstat 2 files changed, 1 insertions(+), 123 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/widgets/Widget.d	Wed Jan 09 02:59:32 2008 +0100
+++ b/dwt/widgets/Widget.d	Wed Jan 09 03:05:22 2008 +0100
@@ -28,128 +28,6 @@
 import tango.stdc.stringz;
 import tango.stdc.string;
 
-/+
-class Widget{
-int /*long*/ windowProc (GtkWidget* handle, int /*long*/ user_data) ;
-int /*long*/ windowProc (GtkWidget* handle, int /*long*/ arg0, int /*long*/ user_data) ;
-int /*long*/ windowProc (GtkWidget* handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ user_data);
-int /*long*/ windowProc (GtkWidget* handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ user_data);
-    static const int DISPOSED = 1<<0;
-    static const int CANVAS = 1<<1;
-    static const int KEYED_DATA = 1<<2;
-    static const int HANDLE = 1<<3;
-    static const int DISABLED = 1<<4;
-    static const int MENU = 1<<5;
-    static const int OBSCURED = 1<<6;
-    static const int MOVED = 1<<7;
-    static const int RESIZED = 1<<8;
-    static const int ZERO_WIDTH = 1<<9;
-    static const int ZERO_HEIGHT = 1<<10;
-    static const int HIDDEN = 1<<11;
-    static const int FOREGROUND = 1<<12;
-    static const int BACKGROUND = 1<<13;
-    static const int FONT = 1<<14;
-    static const int PARENT_BACKGROUND = 1<<15;
-    static const int THEME_BACKGROUND = 1<<16;
-    int style, state;
-    int /*long*/ cellDataProc (int /*long*/ tree_column, int /*long*/ cell, int /*long*/ tree_model, int /*long*/ iter, GtkWidget* data) {
-        return 0;
-    }
-    GdkFilterReturn filterProc (GdkXEvent* xEvent, GdkEvent* gdkEvent, void* data);
-    void fixedMapProc (GtkWidget* widget) {
-    }
-void rendererGetSizeProc(GtkCellRenderer *cell, GtkWidget *handle, GdkRectangle *cell_area, int *x_offset, int *y_offset, int *width, int *height);
-void rendererRenderProc (GtkCellRenderer * cell, GdkDrawable * window, GtkWidget * handle, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, int flags);
-int /*long*/ menuPositionProc (GtkWidget * menu, int /*long*/ x, int /*long*/ y, int /*long*/ push_in, int /*long*/ user_data) ;
-int /*long*/ hoverProc (GtkWidget* handle);
-bool isDisposed();
-void sendEvent (Event event) ;
-void setForegroundColor (GtkWidget* handle, GdkColor* color);
-
-int /*long*/ shellMapProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
-    return 0;
-}
-
-int /*long*/ sizeAllocateProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
-    return 0;
-}
-
-int /*long*/ sizeRequestProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
-    return 0;
-}
-int /*long*/ timerProc (GtkWidget* widget) {
-    return 0;
-}
-
-int /*long*/ treeSelectionProc (int /*long*/ model, int /*long*/ path, int /*long*/ iter, int [] selection, int length) {
-    return 0;
-}
-    static const int ACTIVATE = 1;
-    static const int BUTTON_PRESS_EVENT = 2;
-    static const int BUTTON_PRESS_EVENT_INVERSE = 3;
-    static const int BUTTON_RELEASE_EVENT = 4;
-    static const int BUTTON_RELEASE_EVENT_INVERSE = 5;
-    static const int CHANGED = 6;
-    static const int CHANGE_VALUE = 7;
-    static const int CLICKED = 8;
-    static const int COMMIT = 9;
-    static const int CONFIGURE_EVENT = 10;
-    static const int DELETE_EVENT = 11;
-    static const int DELETE_RANGE = 12;
-    static const int DELETE_TEXT = 13;
-    static const int ENTER_NOTIFY_EVENT = 14;
-    static const int EVENT = 15;
-    static const int EVENT_AFTER = 16;
-    static const int EXPAND_COLLAPSE_CURSOR_ROW = 17;
-    static const int EXPOSE_EVENT = 18;
-    static const int EXPOSE_EVENT_INVERSE = 19;
-    static const int FOCUS = 20;
-    static const int FOCUS_IN_EVENT = 21;
-    static const int FOCUS_OUT_EVENT = 22;
-    static const int GRAB_FOCUS = 23;
-    static const int HIDE = 24;
-    static const int INPUT = 25;
-    static const int INSERT_TEXT = 26;
-    static const int KEY_PRESS_EVENT = 27;
-    static const int KEY_RELEASE_EVENT = 28;
-    static const int LEAVE_NOTIFY_EVENT = 29;
-    static const int MAP = 30;
-    static const int MAP_EVENT = 31;
-    static const int MNEMONIC_ACTIVATE = 32;
-    static const int MOTION_NOTIFY_EVENT = 33;
-    static const int MOTION_NOTIFY_EVENT_INVERSE = 34;
-    static const int MOVE_FOCUS = 35;
-    static const int OUTPUT = 36;
-    static const int POPUP_MENU = 37;
-    static const int PREEDIT_CHANGED = 38;
-    static const int REALIZE = 39;
-    static const int ROW_ACTIVATED = 40;
-    static const int SCROLL_CHILD = 41;
-    static const int SCROLL_EVENT = 42;
-    static const int SELECT = 43;
-    static const int SHOW = 44;
-    static const int SHOW_HELP = 45;
-    static const int SIZE_ALLOCATE = 46;
-    static const int STYLE_SET = 47;
-    static const int SWITCH_PAGE = 48;
-    static const int TEST_COLLAPSE_ROW = 49;
-    static const int TEST_EXPAND_ROW = 50;
-    static const int TEXT_BUFFER_INSERT_TEXT = 51;
-    static const int TOGGLED = 52;
-    static const int UNMAP = 53;
-    static const int UNMAP_EVENT = 54;
-    static const int UNREALIZE = 55;
-    static const int VALUE_CHANGED = 56;
-    static const int VISIBILITY_NOTIFY_EVENT = 57;
-    static const int WINDOW_STATE_EVENT = 58;
-    static const int ACTIVATE_INVERSE = 59;
-    static const int DAY_SELECTED = 60;
-    static const int MONTH_CHANGED = 61;
-    static const int LAST_SIGNAL = 62;
-}
-
-+/
-
 /**
  * This class is the abstract superclass of all user interface objects.
  * Widgets are created, disposed and issue notification to listeners
--- a/todo.txt	Wed Jan 09 02:59:32 2008 +0100
+++ b/todo.txt	Wed Jan 09 03:05:22 2008 +0100
@@ -94,7 +94,7 @@
 widgets/Scale
 widgets/Scrollable
 widgets/ScrollBar
-widgets/Shell                          //
+widgets/Shell                          //Decorations,Canvas,Composite,Scrollable,Control,Widget
 widgets/Slider
 widgets/Spinner
 widgets/Synchronizer