@@ -30,58 +30,6 @@ waitGUI = do
30
30
31
31
-------------------------------------------------------------------------------
32
32
33
- stylePaintFlatBox :: WidgetClass widget
34
- => Style
35
- -> DrawWindow
36
- -> StateType
37
- -> ShadowType
38
- -> Rectangle
39
- -> widget
40
- -> String
41
- -> Int -> Int -> Int -> Int
42
- -> IO ()
43
- stylePaintFlatBox style window stateType shadowType
44
- clipRect widget detail x y width height =
45
- with clipRect $ \ rectPtr ->
46
- withCString detail $ \ detailPtr ->
47
- (\ (Style arg1) (DrawWindow arg2) arg3 arg4 arg5 (Widget arg6) arg7 arg8 arg9 arg10 arg11 -> withForeignPtr arg1 $ \ argPtr1 -> withForeignPtr arg2 $ \ argPtr2 -> withForeignPtr arg6 $ \ argPtr6 -> gtk_paint_flat_box argPtr1 argPtr2 arg3 arg4 arg5 argPtr6 arg7 arg8 arg9 arg10 arg11)
48
- style
49
- window
50
- ((fromIntegral . fromEnum ) stateType)
51
- ((fromIntegral . fromEnum ) shadowType)
52
- (castPtr rectPtr)
53
- (toWidget widget)
54
- detailPtr
55
- (fromIntegral x) (fromIntegral y)
56
- (fromIntegral width) (fromIntegral height)
57
-
58
- stylePaintLayout :: WidgetClass widget
59
- => Style
60
- -> DrawWindow
61
- -> StateType
62
- -> Bool
63
- -> Rectangle
64
- -> widget
65
- -> String
66
- -> Int -> Int
67
- -> PangoLayout
68
- -> IO ()
69
- stylePaintLayout style window stateType useText
70
- clipRect widget detail x y (PangoLayout _ layout) =
71
- with clipRect $ \ rectPtr ->
72
- withCString detail $ \ detailPtr ->
73
- (\ (Style arg1) (DrawWindow arg2) arg3 arg4 arg5 (Widget arg6) arg7 arg8 arg9 (PangoLayoutRaw arg10) -> withForeignPtr arg1 $ \ argPtr1 -> withForeignPtr arg2 $ \ argPtr2 -> withForeignPtr arg6 $ \ argPtr6 -> withForeignPtr arg10 $ \ argPtr10 -> gtk_paint_layout argPtr1 argPtr2 arg3 arg4 arg5 argPtr6 arg7 arg8 arg9 argPtr10)
74
- style
75
- window
76
- ((fromIntegral . fromEnum ) stateType)
77
- (fromBool useText)
78
- (castPtr rectPtr)
79
- (toWidget widget)
80
- detailPtr
81
- (fromIntegral x) (fromIntegral y)
82
- layout
83
-
84
-
85
33
launchProgramForURI :: String -> IO Bool
86
34
#if mingw32_HOST_OS || mingw32_TARGET_OS
87
35
launchProgramForURI uri = do
@@ -115,12 +63,6 @@ launchProgramForURI uri =
115
63
116
64
-------------------------------------------------------------------------------
117
65
118
- foreign import ccall safe " gtk_paint_flat_box"
119
- gtk_paint_flat_box :: Ptr Style -> Ptr DrawWindow -> CInt -> CInt -> Ptr () -> Ptr Widget -> Ptr CChar -> CInt -> CInt -> CInt -> CInt -> IO ()
120
-
121
- foreign import ccall safe " gtk_paint_layout"
122
- gtk_paint_layout :: Ptr Style -> Ptr DrawWindow -> CInt -> CInt -> Ptr () -> Ptr Widget -> Ptr CChar -> CInt -> CInt -> Ptr PangoLayoutRaw -> IO ()
123
-
124
66
foreign import ccall safe " gtk_show_uri"
125
67
gtk_show_uri :: Ptr Screen -> Ptr CChar -> CUInt -> Ptr (Ptr () ) -> IO CInt
126
68
0 commit comments