module HGamer3D.Bindings.CEGUI.ClassListHeaderSegment where
import Foreign
import Foreign.Ptr
import Foreign.C
import HGamer3D.Data.HG3DClass
import HGamer3D.Data.Vector
import HGamer3D.Data.Colour
import HGamer3D.Data.Angle
import HGamer3D.Bindings.CEGUI.Utils
import HGamer3D.Bindings.CEGUI.ClassPtr
import HGamer3D.Bindings.CEGUI.StructHG3DClass
import HGamer3D.Bindings.CEGUI.EnumSortDirection
isSizingEnabled :: HG3DClass
-> IO (Bool)
isSizingEnabled a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
isSizingEnabled'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
getSortDirection :: HG3DClass
-> IO (EnumSortDirection)
getSortDirection a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
getSortDirection'_ a1' a2' >>= \res ->
peekEnumUtil a2'>>= \a2'' ->
return (a2'')
isDragMovingEnabled :: HG3DClass
-> IO (Bool)
isDragMovingEnabled a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
isDragMovingEnabled'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
isClickable :: HG3DClass
-> IO (Bool)
isClickable a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
isClickable'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
isSegmentHovering :: HG3DClass
-> IO (Bool)
isSegmentHovering a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
isSegmentHovering'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
isSegmentPushed :: HG3DClass
-> IO (Bool)
isSegmentPushed a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
isSegmentPushed'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
isSplitterHovering :: HG3DClass
-> IO (Bool)
isSplitterHovering a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
isSplitterHovering'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
isBeingDragMoved :: HG3DClass
-> IO (Bool)
isBeingDragMoved a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
isBeingDragMoved'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
isBeingDragSized :: HG3DClass
-> IO (Bool)
isBeingDragSized a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
isBeingDragSized'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
setSizingEnabled :: HG3DClass
-> Bool
-> IO ()
setSizingEnabled a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
setSizingEnabled'_ a1' a2' >>= \res ->
return ()
setSortDirection :: HG3DClass
-> EnumSortDirection
-> IO ()
setSortDirection a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = cIntFromEnum a2} in
setSortDirection'_ a1' a2' >>= \res ->
return ()
setDragMovingEnabled :: HG3DClass
-> Bool
-> IO ()
setDragMovingEnabled a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
setDragMovingEnabled'_ a1' a2' >>= \res ->
return ()
setClickable :: HG3DClass
-> Bool
-> IO ()
setClickable a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
setClickable'_ a1' a2' >>= \res ->
return ()
setSizingCursorImage2 :: HG3DClass
-> String
-> String
-> IO ()
setSizingCursorImage2 a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
withCString a3 $ \a3' ->
setSizingCursorImage2'_ a1' a2' a3' >>= \res ->
return ()
setMovingCursorImage2 :: HG3DClass
-> String
-> String
-> IO ()
setMovingCursorImage2 a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
withCString a3 $ \a3' ->
setMovingCursorImage2'_ a1' a2' a3' >>= \res ->
return ()
new :: String
-> String
-> IO (HG3DClass)
new a1 a2 =
withCString a1 $ \a1' ->
withCString a2 $ \a2' ->
alloca $ \a3' ->
new'_ a1' a2' a3' >>= \res ->
peek a3'>>= \a3'' ->
return (a3'')
delete :: HG3DClass
-> IO ()
delete a1 =
withHG3DClass a1 $ \a1' ->
delete'_ a1' >>= \res ->
return ()
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_isSizingEnabled"
isSizingEnabled'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_getSortDirection"
getSortDirection'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_isDragMovingEnabled"
isDragMovingEnabled'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_isClickable"
isClickable'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_isSegmentHovering"
isSegmentHovering'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_isSegmentPushed"
isSegmentPushed'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_isSplitterHovering"
isSplitterHovering'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_isBeingDragMoved"
isBeingDragMoved'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_isBeingDragSized"
isBeingDragSized'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_setSizingEnabled"
setSizingEnabled'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_setSortDirection"
setSortDirection'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_setDragMovingEnabled"
setDragMovingEnabled'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_setClickable"
setClickable'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_setSizingCursorImage2"
setSizingCursorImage2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CChar) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_setMovingCursorImage2"
setMovingCursorImage2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CChar) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_construct"
new'_ :: ((Ptr CChar) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\CEGUI\\ClassListHeaderSegment.chs.h cegui_lsthdrsgm_destruct"
delete'_ :: ((HG3DClassPtr) -> (IO ()))