#include #include -- | Raw bindings. -- -- Note: The 'Cairo' type (C @cairo_t*@) is from "Graphics.Rendering.Cairo.Types", whose haddock is (as of writing) hidden module Graphics.Aosd.AOSD_H where #strict_import import Graphics.Rendering.Cairo.Types #opaque_t Aosd #integral_t AosdCoordinate #num COORDINATE_MINIMUM #num COORDINATE_CENTER #num COORDINATE_MAXIMUM #starttype AosdMouseEvent #field x, CInt #field y, CInt #field x_root, CInt #field y_root, CInt #field button, CUInt #field time, CULong #stoptype #callback AosdRenderer, Cairo -> Ptr () -> IO () #callback AosdMouseEventCb, Ptr -> Ptr () -> IO () #integral_t AosdTransparency #num TRANSPARENCY_NONE #num TRANSPARENCY_FAKE #num TRANSPARENCY_COMPOSITE #starttype XClassHint #field res_name, CString #field res_class, CString #stoptype #ccall aosd_new, IO (Ptr ) #ccall aosd_destroy, Ptr -> IO () -- * object configurators #ccall aosd_set_name, Ptr -> Ptr -> IO () #ccall aosd_set_names, Ptr -> CString -> CString -> IO () #ccall aosd_set_transparency, Ptr -> -> IO () #ccall aosd_set_geometry, Ptr -> CInt -> CInt -> CInt -> CInt -> IO () #ccall aosd_set_position, Ptr -> CUInt -> CInt -> CInt -> IO () #ccall aosd_set_position_offset, Ptr -> CInt -> CInt -> IO () #ccall aosd_set_position_with_offset, Ptr -> -> -> CInt -> CInt -> CInt -> CInt -> IO () #ccall aosd_set_renderer, Ptr -> -> Ptr () -> IO () #ccall aosd_set_mouse_event_cb, Ptr -> -> Ptr () -> IO () #ccall aosd_set_hide_upon_mouse_event, Ptr -> CInt -> IO () -- * object manipulators #ccall aosd_render, Ptr -> IO () #ccall aosd_show, Ptr -> IO () #ccall aosd_hide, Ptr -> IO () -- * X main loop processing #ccall aosd_loop_once, Ptr -> IO () #ccall aosd_loop_for, Ptr -> CUInt -> IO () -- * automatic object manipulator #ccall aosd_flash, Ptr -> CUInt -> CUInt -> CUInt -> IO ()