diff options
author | Camil Staps | 2015-08-21 21:13:19 +0200 |
---|---|---|
committer | Camil Staps | 2015-08-21 21:13:19 +0200 |
commit | 2f3f6cdb9ecb7844ff9df64b930881725a2ca033 (patch) | |
tree | fcf12b09746b48ff23922171b41b868a629505cb /oswindow.icl | |
parent | Fixing unchecked casts (diff) |
Renaming SetWindowSize to SetWidgetSize as it is generic for all GtkWidgets
Diffstat (limited to 'oswindow.icl')
-rw-r--r-- | oswindow.icl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/oswindow.icl b/oswindow.icl index d1027d1..11b88e2 100644 --- a/oswindow.icl +++ b/oswindow.icl @@ -1208,7 +1208,7 @@ osSetWindowViewFrameSize wPtr size tb osSetWindowSize :: !OSWindowPtr !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetWindowSize wPtr size update tb
- = winSetWindowSize wPtr size update tb
+ = winSetWidgetSize wPtr size update tb
osSetWindowTitle :: !OSWindowPtr !String !*OSToolbox -> *OSToolbox
osSetWindowTitle wPtr title tb
@@ -1261,7 +1261,7 @@ osSetCompoundPos _ (parent_x,parent_y) compoundPtr (x,y) _ update tb osSetCompoundSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetCompoundSize _ _ compoundPtr _ size update tb
- = winSetWindowSize compoundPtr size update tb
+ = winSetWidgetSize compoundPtr size update tb
// PA: dummy function, required only for Mac
osUpdateCompoundScroll :: !OSWindowPtr !OSWindowPtr !OSRect !*OSToolbox -> *OSToolbox
@@ -1295,7 +1295,7 @@ osSetSliderControlPos _ (parent_x,parent_y) sliderPtr (x,y) _ update tb osSetSliderControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetSliderControlSize _ _ sliderPtr _ size update tb
- = winSetWindowSize sliderPtr size update tb
+ = winSetWidgetSize sliderPtr size update tb
// On radio controls:
@@ -1318,7 +1318,7 @@ osSetRadioControlPos _ (parent_x,parent_y) radioPtr (x,y) _ update tb osSetRadioControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetRadioControlSize _ _ radioPtr _ size update tb
- = winSetWindowSize radioPtr size update tb
+ = winSetWidgetSize radioPtr size update tb
// On check controls:
@@ -1341,7 +1341,7 @@ osSetCheckControlPos _ (parent_x,parent_y) checkPtr (x,y) _ update tb osSetCheckControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetCheckControlSize _ _ checkPtr _ size update tb
- = winSetWindowSize checkPtr size update tb
+ = winSetWidgetSize checkPtr size update tb
// On pop up controls:
@@ -1364,7 +1364,7 @@ osSetPopUpControlPos _ (parent_x,parent_y) popupPtr (x,y) _ update tb osSetPopUpControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetPopUpControlSize _ _ popupPtr _ size update tb
- = winSetWindowSize popupPtr size update tb
+ = winSetWidgetSize popupPtr size update tb
osGetPopUpControlText :: !OSWindowPtr !OSWindowPtr !*OSToolbox -> (!String,!*OSToolbox)
osGetPopUpControlText _ ePtr tb
@@ -1403,7 +1403,7 @@ osSetEditControlPos _ (parent_x,parent_y) editPtr (x,y) _ update tb osSetEditControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetEditControlSize _ _ editPtr _ size update tb
- = winSetWindowSize editPtr size update tb
+ = winSetWidgetSize editPtr size update tb
// Dummy implementation; used on Mac only (windowevent.icl):
osIdleEditControl :: !OSWindowPtr !OSRect !OSWindowPtr !*OSToolbox -> *OSToolbox
@@ -1430,7 +1430,7 @@ osSetTextControlPos _ (parent_x,parent_y) textPtr (x,y) _ update tb osSetTextControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetTextControlSize _ _ textPtr _ size update tb
- = winSetWindowSize textPtr size update tb
+ = winSetWidgetSize textPtr size update tb
// On button controls:
@@ -1453,7 +1453,7 @@ osSetButtonControlPos _ (parent_x,parent_y) buttonPtr (x,y) _ update tb osSetButtonControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetButtonControlSize _ _ buttonPtr _ size update tb
- = winSetWindowSize buttonPtr size update tb
+ = winSetWidgetSize buttonPtr size update tb
// On custom button controls:
@@ -1472,7 +1472,7 @@ osSetCustomButtonControlPos _ (parent_x,parent_y) cPtr (x,y) _ update tb osSetCustomButtonControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetCustomButtonControlSize _ _ cPtr _ size update tb
- = winSetWindowSize cPtr size update tb
+ = winSetWidgetSize cPtr size update tb
osCustomButtonControlHasOrigin :== True
@@ -1493,7 +1493,7 @@ osSetCustomControlPos _ (parent_x,parent_y) customPtr (x,y) _ update tb osSetCustomControlSize :: !OSWindowPtr !(!Int,!Int) !OSWindowPtr !(!Int,!Int) !(!Int,!Int) !Bool !*OSToolbox -> *OSToolbox
osSetCustomControlSize _ _ customPtr _ size update tb
- = winSetWindowSize customPtr size update tb
+ = winSetWidgetSize customPtr size update tb
osCustomControlHasOrigin :== True
|