class Aspect_WindowDefinitionError;
class Aspect_WindowError;
+class Aspect_WindowInputListener;
class Aspect_Background;
class Quantity_Color;
class Aspect_GradientBackground;
const Standard_Integer thePxLeft,
const Standard_Integer thePxTop,
const Standard_Integer thePxWidth,
- const Standard_Integer thePxHeight,
- const Aspect_FBConfig theFBConfig = NULL);
+ const Standard_Integer thePxHeight);
//! Creates a wrapper over existing Window handle
Standard_EXPORT Xw_Window (const Handle(Aspect_DisplayConnection)& theXDisplay,
//! for this working thread to avoid race conditions, since Xlib display connection is not thread-safe by default.
Standard_EXPORT virtual void InvalidateContent (const Handle(Aspect_DisplayConnection)& theDisp) Standard_OVERRIDE;
+ //! Process a single window message.
+ //! @param theListener [in][out] listener to redirect message
+ //! @param theMsg [in][out] message to process
+ //! @return TRUE if message has been processed
+ Standard_EXPORT virtual bool ProcessMessage (Aspect_WindowInputListener& theListener,
+ XEvent& theMsg);
+
protected:
Handle(Aspect_DisplayConnection) myDisplay; //!< X Display connection