13# error Apple OSX only!
23@class CocoaOpenGLView;
55 const bool stereoVisual,
83 void setTitle(
const char *title)
override;
88 std::string
getTitle()
const override;
252 void endIME()
override;
297 bool canInvertColor)
override;
332 this->
m_data = customdata;
336typedef int GHOST_ImeStateFlagCocoa;
338 GHOST_IME_INPUT_FOCUSED = (1 << 0),
339 GHOST_IME_ENABLED = (1 << 1),
340 GHOST_IME_COMPOSING = (1 << 2),
341 GHOST_IME_KEY_CONTROL_CHAR = (1 << 3),
342 GHOST_IME_COMPOSITION_EVENT = (1 << 4),
343 GHOST_IME_RESULT_EVENT = (1 << 5)
GHOST_TDrawingContextType
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
btAlignedObjectArray< btScalar > m_data
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
GHOST_Event(uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window)
bool isDialog() const override
GHOST_TSuccess setProgressBar(float progress) override
GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape) override
GHOST_SystemCocoa * m_systemCocoa
bool getImmediateDraw() const
GHOST_TSuccess setState(GHOST_TWindowState state) override
std::string getTitle() const override
void setImmediateDraw(bool value)
GHOST_TSuccess setClientHeight(uint32_t height) override
void clientToScreen(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override
void setTitle(const char *title) override
GHOST_TSuccess setModifiedState(bool isUnsavedChanges) override
GHOST_TSuccess invalidate() override
CocoaOpenGLView * m_openGLView
CAMetalLayer * m_metalLayer
GHOST_TSuccess endProgressBar() override
NSCursor * getStandardCursor(GHOST_TStandardCursor cursor) const
GHOST_TWindowState getState() const override
GHOST_TSuccess setClientWidth(uint32_t width) override
GHOST_GPUDevice m_preferred_device
GHOST_TabletData m_tablet
GHOST_WindowCocoa(GHOST_SystemCocoa *systemCocoa, const char *title, int32_t left, int32_t bottom, uint32_t width, uint32_t height, GHOST_TWindowState state, GHOST_TDrawingContextType type, const bool stereoVisual, bool is_debug, bool dialog, GHOST_WindowCocoa *parentWindow, const GHOST_GPUDevice &preferred_device)
GHOST_TSuccess endFullScreen() const override
GHOST_TSuccess hasCursorShape(GHOST_TStandardCursor shape) override
void clientToScreenIntern(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const
void * getOSWindow() const override
GHOST_TabletData & GetCocoaTabletData()
void getClientBounds(GHOST_Rect &bounds) const override
GHOST_TSuccess beginFullScreen() const override
void screenToClient(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override
void getWindowBounds(GHOST_Rect &bounds) const override
NSCursor * m_customCursor
GHOST_Context * newDrawingContext(GHOST_TDrawingContextType type) override
GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode mode) override
GHOST_TSuccess setWindowCustomCursorShape(uint8_t *bitmap, uint8_t *mask, int sizex, int sizey, int hotX, int hotY, bool canInvertColor) override
~GHOST_WindowCocoa() override
GHOST_TSuccess setOrder(GHOST_TWindowOrder order) override
void screenToClientIntern(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const
CocoaMetalView * m_metalView
GHOST_TSuccess setPath(const char *filepath) override
void setNativePixelSize()
bool getValid() const override
GHOST_TSuccess setWindowCursorVisibility(bool visible) override
BlenderWindow * getViewWindow() const
void loadCursor(bool visible, GHOST_TStandardCursor cursor) const
GHOST_TSuccess setClientSize(uint32_t width, uint32_t height) override
unsigned __int64 uint64_t