37 const bool wantStereoVisual =
false,
38 const bool exclusive =
false);
77 return m_context !=
NULL;
118 bool canInvertColor);
160 bool &use_software_cursor);
294 #ifdef WITH_INPUT_IME
300 virtual void endIME()
345 bool canInvertColor) = 0;
void * GHOST_TUserDataPtr
GHOST_TDrawingContextType
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
GHOST_Rect m_cursorGrabBounds
bool getCursorGrabUseSoftwareDisplay()
GHOST_TSuccess setCustomCursorShape(uint8_t *bitmap, uint8_t *mask, int sizex, int sizey, int hotX, int hotY, bool canInvertColor)
virtual unsigned int getDefaultFramebuffer()
GHOST_TSuccess getCursorGrabBounds(GHOST_Rect &bounds)
virtual bool getModifiedState()
GHOST_TSuccess getSwapInterval(int &intervalOut)
bool getCursorVisibility() const
void setCursorGrabAccum(int32_t x, int32_t y)
void getCursorGrabInitPos(int32_t &x, int32_t &y) const
virtual GHOST_TSuccess endProgressBar()
GHOST_TGrabCursorMode m_cursorGrab
GHOST_TAxisFlag getCursorGrabAxis() const
int32_t m_cursorGrabAccumPos[2]
int32_t m_cursorGrabInitPos[2]
GHOST_TSuccess setDrawingContextType(GHOST_TDrawingContextType type)
GHOST_TStandardCursor m_cursorShape
virtual uint16_t getDPIHint()
virtual GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode)
GHOST_TSuccess releaseNativeHandles()
virtual void * getOSWindow() const
GHOST_TAxisFlag m_cursorGrabAxis
virtual GHOST_TSuccess swapBuffers()
virtual GHOST_TSuccess setModifiedState(bool isUnsavedChanges)
GHOST_TSuccess setSwapInterval(int interval)
virtual GHOST_Context * newDrawingContext(GHOST_TDrawingContextType type)=0
bool canAcceptDragOperation() const
virtual GHOST_TSuccess setWindowCustomCursorShape(uint8_t *bitmap, uint8_t *mask, int szx, int szy, int hotX, int hotY, bool canInvertColor)=0
virtual GHOST_TSuccess setProgressBar(float)
GHOST_TSuccess setCursorGrab(GHOST_TGrabCursorMode mode, GHOST_TAxisFlag wrap_axis, GHOST_Rect *bounds, int32_t mouse_ungrab_xy[2])
virtual GHOST_TSuccess setWindowCursorVisibility(bool visible)=0
GHOST_TDrawingContextType m_drawingContextType
uint32_t m_fullScreenHeight
virtual bool getValid() const
GHOST_TDrawingContextType getDrawingContextType()
void getCursorGrabState(GHOST_TGrabCursorMode &mode, GHOST_TAxisFlag &axis_flag, GHOST_Rect &bounds, bool &use_software_cursor)
GHOST_TGrabCursorMode getCursorGrabMode() const
GHOST_Window(uint32_t width, uint32_t height, GHOST_TWindowState state, const bool wantStereoVisual=false, const bool exclusive=false)
void setAcceptDragOperation(bool canAccept)
float getNativePixelSize(void)
GHOST_TSuccess updateDrawingContext()
GHOST_TUserDataPtr m_userData
void setUserData(const GHOST_TUserDataPtr userData)
bool m_progressBarVisible
GHOST_TSuccess setCursorShape(GHOST_TStandardCursor cursorShape)
virtual GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape)=0
bool m_canAcceptDragOperation
virtual GHOST_TSuccess activateDrawingContext()
GHOST_TSuccess setCursorVisibility(bool visible)
GHOST_TStandardCursor getCursorShape() const
bool getCursorGrabModeIsWarp() const
void getCursorGrabAccum(int32_t &x, int32_t &y) const
GHOST_TUserDataPtr getUserData() const
GHOST_TSuccess getCursorBitmap(GHOST_CursorBitmapRef *bitmap)
uint32_t m_fullScreenWidth
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)