Display.h
virtual void LockClientPosition(bool)=0
Attempts to prevent moving on the user's side.
Base class for the trigger of a close signal from the user.
Definition: Display.h:71
DisplayEventType
The varienty of system event types that Display can give.
Definition: Display.h:113
virtual bool IsCapable(Capability)=0
Returns whether or not the Display is able to perform the requested capability.
virtual void * GetLastSystemEvent()=0
Returns an implementation-specific value that represents the last processed event generated form the ...
virtual void operator()(int newWidth, int newHeight)=0
Called upon resizing.
virtual void Resize(int w, int h)=0
Resizes the display. If the display does not support resizing, no action is taken.
The display handle is an X11Display instance. In this case, the display is a window in an X11 environ...
Capability
The standard functional capabilities of a Display.
Definition: Display.h:86
virtual void RemoveCloseCallback(CloseCallback *)=0
Removes the callback of the same instance as one given via AddCloseCallback.
ViewPolicy
Controls how the Display displays Rendered data.
Definition: Display.h:96
The handle's type is not known and should not be relied on.
The Display will show the attached Framebuffer's contents with no transformation. ...
The event is a pointer to a std::vector.
virtual DisplayEventType GetSystemEventType()=0
Returns the type of the system events returned by GetLastSystemEvent(). Like getting the system handl...
Definition: AssetID.h:37
The Display can be resized.
The event's type is not known and should not be relied on.
virtual void LockClientResize(bool)=0
Attempts to prevent resizing on the user's side.
virtual void SetName(const std::string &)=0
Sets the name of the display. On some systems, this can, for example, set the title bar of the applic...
The Display will stretch the attached Framebuffer's contents to match the windows dimensions...
The display handle is a MS Windows HWND instance.
virtual void RemoveResizeCallback(ResizeCallback *)=0
Removes the callback of the same instance as one given via AddResizeCallback.
virtual void AddCloseCallback(CloseCallback *)=0
Adds an additional callback function to be be called after the occurance of a closing event...
virtual DisplayHandleType GetSystemHandleType()=0
Returns the type associated with data returned by GetSystemHandle. Meant for internal use...
virtual void AttachSource(Framebuffer *)=0
Attaches the given framebuffer as the source of the display. Any updates to the display reflect the c...
The Display can be hidden.
virtual bool HasInputFocus()=0
Returns whether the display has user input focus. On display implementations where this doesnt apply...
The Display's size can consume the entire physical device, often in a special state.
virtual void Fullscreen(bool)=0
Set the display into a fullscreen context. If fullscreen is not supported, no action is taken...
virtual void Update()=0
Updates display with input visual data that is populated in the internal framebuffer. THe framebuffer's data canbe populated by modifying the framebuffer in GetSource()
DisplayHandleType
The variety of system handle types that Display can represent.
Definition: Display.h:106
The Display can prevent the user from changing the dimensions of the Display.
The Display's position can be moved.
virtual void * GetSystemHandle()=0
Returns an implementation-specific handle that represents this Display or this Display's properties...
virtual void AddResizeCallback(ResizeCallback *)=0
Adds an additional callback function to be be called after the occurance of a resize event...
The event is a pointer to a std::vector.
virtual void Hide(bool)=0
Attempts to hide the display. If hiding is not supported, no action is taken.
virtual void SetPosition(int x, int y)=0
Sets the position of the display.
virtual void SetViewPolicy(ViewPolicy)=0
Controls how the Renderer's information is displayed. The default policy is "MatchSize" See ViewPolic...