diff --git a/WINGs/wcolorwell.c b/WINGs/wcolorwell.c index ed396193..17934856 100644 --- a/WINGs/wcolorwell.c +++ b/WINGs/wcolorwell.c @@ -37,7 +37,7 @@ static void handleDragEvents(XEvent * event, void *data); static void handleActionEvents(XEvent * event, void *data); -static void willResizeColorWell(); +static void willResizeColorWell(W_ViewDelegate * self, WMView * view, unsigned int *width, unsigned int *height); W_ViewDelegate _ColorWellViewDelegate = { NULL, diff --git a/WINGs/wlist.c b/WINGs/wlist.c index 360bb6c1..625b4bba 100644 --- a/WINGs/wlist.c +++ b/WINGs/wlist.c @@ -64,7 +64,7 @@ static void vScrollCallBack(WMWidget * scroller, void *self); static void toggleItemSelection(WMList * lPtr, int index); static void updateGeometry(WMList * lPtr); -static void didResizeList(); +static void didResizeList(W_ViewDelegate * self, WMView * view); static void unselectAllListItems(WMList * lPtr, WMListItem * exceptThis); diff --git a/WINGs/wprogressindicator.c b/WINGs/wprogressindicator.c index a897a9eb..79b9ea01 100644 --- a/WINGs/wprogressindicator.c +++ b/WINGs/wprogressindicator.c @@ -24,7 +24,7 @@ typedef struct W_ProgressIndicator { /* define if only the ticks within the progress region should be displayed */ #undef SHOW_PROGRESS_TICKS_ONLY -static void didResizeProgressIndicator(); +static void didResizeProgressIndicator(W_ViewDelegate * self, WMView * view); W_ViewDelegate _ProgressIndicatorDelegate = { NULL, diff --git a/WINGs/wscroller.c b/WINGs/wscroller.c index e6d2cd3c..f037c246 100644 --- a/WINGs/wscroller.c +++ b/WINGs/wscroller.c @@ -73,7 +73,7 @@ typedef struct W_Scroller { static void destroyScroller(Scroller * sPtr); static void paintScroller(Scroller * sPtr); -static void willResizeScroller(); +static void willResizeScroller(W_ViewDelegate * self, WMView * view, unsigned int *width, unsigned int *height); static void handleEvents(XEvent * event, void *data); static void handleActionEvents(XEvent * event, void *data); diff --git a/WINGs/wscrollview.c b/WINGs/wscrollview.c index ae3daaec..091b1afe 100644 --- a/WINGs/wscrollview.c +++ b/WINGs/wscrollview.c @@ -28,8 +28,8 @@ static void destroyScrollView(ScrollView * sPtr); static void paintScrollView(ScrollView * sPtr); static void handleEvents(XEvent * event, void *data); static void handleViewportEvents(XEvent * event, void *data); -static void resizeScrollView(); -static void updateScrollerProportion(); +static void resizeScrollView(W_ViewDelegate *self, WMView *view); +static void updateScrollerProportion(ScrollView *sPtr); W_ViewDelegate _ScrollViewViewDelegate = { NULL, diff --git a/WINGs/wslider.c b/WINGs/wslider.c index 1ee7dae7..f1f43fb1 100644 --- a/WINGs/wslider.c +++ b/WINGs/wslider.c @@ -29,7 +29,7 @@ typedef struct W_Slider { } Slider; -static void didResizeSlider(); +static void didResizeSlider(W_ViewDelegate * self, WMView * view); W_ViewDelegate _SliderViewDelegate = { NULL, diff --git a/WINGs/wtextfield.c b/WINGs/wtextfield.c index 955db533..1b3baa5a 100644 --- a/WINGs/wtextfield.c +++ b/WINGs/wtextfield.c @@ -96,7 +96,7 @@ static void paintTextField(TextField * tPtr); static void handleEvents(XEvent * event, void *data); static void handleTextFieldActionEvents(XEvent * event, void *data); -static void didResizeTextField(); +static void didResizeTextField(W_ViewDelegate * self, WMView * view); struct W_ViewDelegate _TextFieldViewDelegate = { NULL, diff --git a/WINGs/wwindow.c b/WINGs/wwindow.c index d14b46b0..d3ad4aa6 100644 --- a/WINGs/wwindow.c +++ b/WINGs/wwindow.c @@ -89,9 +89,9 @@ struct W_ViewDelegate _WindowViewDelegate = { static void destroyWindow(_Window * win); -static void handleEvents(); +static void handleEvents(XEvent * event, void *clientData); -static void realizeWindow(); +static void realizeWindow(WMWindow * win); static void realizeObserver(void *self, WMNotification * not) {