dear-imgui-impl-glfw-1.0.0: src/DearImGui/Raw/Impl/GLFW/GLFWmonitor.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Impl.GLFW.GLFWmonitor
( GLFWmonitor
, getContentScaleForMonitor
, monitorCallback
) where
import Foreign.C.Types
import Foreign.Ptr (Ptr)
#include "dcimgui_impl_glfw.h"
-- structs (opaque)
data GLFWmonitor
-- functions
-- C: float ImGui_ImplGlfw_GetContentScaleForMonitor(GLFWmonitor* monitor)
foreign import capi safe "dcimgui_impl_glfw.h cImGui_ImplGlfw_GetContentScaleForMonitor"
getContentScaleForMonitor
:: (Ptr GLFWmonitor) -- ^ monitor
-> IO Float
-- C: void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor, int event)
foreign import capi safe "dcimgui_impl_glfw.h cImGui_ImplGlfw_MonitorCallback"
monitorCallback
:: (Ptr GLFWmonitor) -- ^ monitor
-> CInt -- ^ event
-> IO ()