#include <hps.h>
Public Member Functions | |
StandAloneWindowOptionsKit () | |
The default constructor creates an empty StandAloneWindowOptionsKit object. More... | |
StandAloneWindowOptionsKit (StandAloneWindowOptionsKit const &in_kit) | |
The copy constructor creates a new StandAloneWindowOptionsKit object that contains the same settings as the source StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit (StandAloneWindowOptionsKit &&in_that) | |
The move constructor creates a StandAloneWindowOptionsKit by transferring the underlying impl of the rvalue reference to this StandAloneWindowOptionsKit thereby avoiding a copy and allocation. More... | |
StandAloneWindowOptionsKit & | operator= (StandAloneWindowOptionsKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this StandAloneWindowOptionsKit thereby avoiding a copy. More... | |
virtual | ~StandAloneWindowOptionsKit () |
HPS::Type | ObjectType () const |
void | Set (StandAloneWindowOptionsKit const &in_kit) |
Copies the source StandAloneWindowOptionsKit into this StandAloneWindowOptionsKit. More... | |
void | Show (StandAloneWindowOptionsKit &out_kit) const |
Copies this StandAloneWindowOptionsKit into the given StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | operator= (StandAloneWindowOptionsKit const &in_kit) |
Copies the source StandAloneWindowOptionsKit into this StandAloneWindowOptionsKit. More... | |
bool | Empty () const |
Indicates whether this StandAloneWindowOptionsKit has any values set on it. More... | |
bool | Equals (StandAloneWindowOptionsKit const &in_kit) const |
Check if the source StandAloneWindowOptionsKit is equivalent to this StandAloneWindowOptionsKit. More... | |
bool | operator== (StandAloneWindowOptionsKit const &in_kit) const |
Check if the source StandAloneWindowOptionsKit is equivalent to this StandAloneWindowOptionsKit. More... | |
bool | operator!= (StandAloneWindowOptionsKit const &in_kit) const |
Check if the source StandAloneWindowOptionsKit is not equivalent to this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | SetDriver (Window::Driver in_driver) |
Sets the driver for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | SetAntiAliasCapable (bool in_state, unsigned int in_samples=4) |
Sets the anti-alias options for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | SetTitle (char const *in_window_name) |
Sets the title for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | SetSubscreen (Rectangle const &in_subscreen) |
Sets the subscreen to render into for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | SetMobility (Window::Mobility in_mobility) |
Sets the mobility for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | SetFullScreen (bool in_state) |
Sets whether the associated stand-alone window should fill the screen. More... | |
StandAloneWindowOptionsKit & | UnsetDriver () |
Removes the driver for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | UnsetAntiAliasCapable () |
Removes the anti-alias options for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | UnsetTitle () |
Removes the title for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | UnsetSubscreen () |
Removes the subscreen for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | UnsetMobility () |
Removes the mobility for this StandAloneWindowOptionsKit. More... | |
StandAloneWindowOptionsKit & | UnsetFullScreen () |
Removes whether the associated stand-alone window should fill the screen. More... | |
StandAloneWindowOptionsKit & | UnsetEverything () |
Removes all settings from this StandAloneWindowOptionsKit. More... | |
bool | ShowDriver (Window::Driver &out_driver) const |
Shows the driver for this StandAloneWindowOptionsKit. More... | |
bool | ShowAntiAliasCapable (bool &out_state, unsigned int &out_samples) const |
Shows the anti-alias options for this StandAloneWindowOptionsKit. More... | |
bool | ShowTitle (UTF8 &out_window_name) const |
Shows the title for this StandAloneWindowOptionsKit. More... | |
bool | ShowSubscreen (Rectangle &out_subscreen) const |
Shows the subscreen for this StandAloneWindowOptionsKit. More... | |
bool | ShowMobility (Window::Mobility &out_mobility) const |
Shows the mobility for this StandAloneWindowOptionsKit. More... | |
bool | ShowFullScreen (bool &out_state) const |
Shows whether the associated stand-alone window should fill the screen. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS::Type in_mask) const |
This function indicates whether this Object has the given Type mask. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
intptr_t | GetInstanceID () const |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
Static Public Member Functions | |
static StandAloneWindowOptionsKit | GetDefault () |
Creates an StandAloneWindowOptionsKit which contains the default settings. More... | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::StandAloneWindowOptionsKit |
The StandAloneWindowOptionsKit class is a user space object. It is used to specify stand-alone-window-specific options Calling HPS::StandAloneWindowOptionsKit::GetDefault() will return an options kit with values found in this table.
HPS::StandAloneWindowOptionsKit::StandAloneWindowOptionsKit | ( | ) |
The default constructor creates an empty StandAloneWindowOptionsKit object.
HPS::StandAloneWindowOptionsKit::StandAloneWindowOptionsKit | ( | StandAloneWindowOptionsKit const & | in_kit | ) |
The copy constructor creates a new StandAloneWindowOptionsKit object that contains the same settings as the source StandAloneWindowOptionsKit.
in_kit | The source StandAloneWindowOptionsKit to copy. |
HPS::StandAloneWindowOptionsKit::StandAloneWindowOptionsKit | ( | StandAloneWindowOptionsKit && | in_that | ) |
The move constructor creates a StandAloneWindowOptionsKit by transferring the underlying impl of the rvalue reference to this StandAloneWindowOptionsKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to a StandAloneWindowOptionsKit to take the impl from. |
|
virtual |
|
inlinestaticinherited |
Unique identifier for this class.
Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.
|
virtual |
Indicates whether this StandAloneWindowOptionsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::StandAloneWindowOptionsKit::Equals | ( | StandAloneWindowOptionsKit const & | in_kit | ) | const |
Check if the source StandAloneWindowOptionsKit is equivalent to this StandAloneWindowOptionsKit.
in_kit | The source StandAloneWindowOptionsKit to compare to this StandAloneWindowOptionsKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
Creates an StandAloneWindowOptionsKit which contains the default settings.
The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.
|
inherited |
Returns an identifier that can be used to identify which instance of a class an object is.
Different keys and controls will return the same value if they are backed by the same database resource.
|
inherited |
|
inlinevirtual |
bool HPS::StandAloneWindowOptionsKit::operator!= | ( | StandAloneWindowOptionsKit const & | in_kit | ) | const |
Check if the source StandAloneWindowOptionsKit is not equivalent to this StandAloneWindowOptionsKit.
in_kit | The source StandAloneWindowOptionsKit to compare to this StandAloneWindowOptionsKit. |
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::operator= | ( | StandAloneWindowOptionsKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this StandAloneWindowOptionsKit thereby avoiding a copy.
in_that | An rvalue reference to a StandAloneWindowOptionsKit to take the impl from. |
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::operator= | ( | StandAloneWindowOptionsKit const & | in_kit | ) |
Copies the source StandAloneWindowOptionsKit into this StandAloneWindowOptionsKit.
in_kit | The source StandAloneWindowOptionsKit to copy. |
bool HPS::StandAloneWindowOptionsKit::operator== | ( | StandAloneWindowOptionsKit const & | in_kit | ) | const |
Check if the source StandAloneWindowOptionsKit is equivalent to this StandAloneWindowOptionsKit.
in_kit | The source StandAloneWindowOptionsKit to compare to this StandAloneWindowOptionsKit. |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::StandAloneWindowOptionsKit::Set | ( | StandAloneWindowOptionsKit const & | in_kit | ) |
Copies the source StandAloneWindowOptionsKit into this StandAloneWindowOptionsKit.
in_kit | The source StandAloneWindowOptionsKit to copy. |
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::SetAntiAliasCapable | ( | bool | in_state, |
unsigned int | in_samples = 4 |
||
) |
Sets the anti-alias options for this StandAloneWindowOptionsKit.
in_state | Whether the associated application window should be anti-alias capable. |
in_samples | The number of anti-alias samples to use for the associated stand-alone window. Defaults to 4. |
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::SetDriver | ( | Window::Driver | in_driver | ) |
Sets the driver for this StandAloneWindowOptionsKit.
in_driver | The driver for this StandAloneWindowOptionsKit. |
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::SetFullScreen | ( | bool | in_state | ) |
Sets whether the associated stand-alone window should fill the screen.
in_state | Whether the associated stand-alone window should fill the screen. |
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::SetMobility | ( | Window::Mobility | in_mobility | ) |
Sets the mobility for this StandAloneWindowOptionsKit.
in_mobility | The mobility for this StandAloneWindowOptionsKit. |
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::SetSubscreen | ( | Rectangle const & | in_subscreen | ) |
Sets the subscreen to render into for this StandAloneWindowOptionsKit.
in_subscreen | The subscreen to render into for this StandAloneWindowOptionsKit. The units of the Rectangle are in window space, so -1.0f corresponds to the left (or bottom) of the window and 1.0f corresponds to the right (or top) of the window. |
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::SetTitle | ( | char const * | in_window_name | ) |
Sets the title for this StandAloneWindowOptionsKit.
in_window_name | UTF8-encoded title for this StandAloneWindowOptionsKit. |
void HPS::StandAloneWindowOptionsKit::Show | ( | StandAloneWindowOptionsKit & | out_kit | ) | const |
Copies this StandAloneWindowOptionsKit into the given StandAloneWindowOptionsKit.
out_kit | The StandAloneWindowOptionsKit to populate with the contents of this StandAloneWindowOptionsKit. |
bool HPS::StandAloneWindowOptionsKit::ShowAntiAliasCapable | ( | bool & | out_state, |
unsigned int & | out_samples | ||
) | const |
Shows the anti-alias options for this StandAloneWindowOptionsKit.
out_state | Whether the associated stand-alone window should be anti-alias capable. |
out_samples | The number of anti-alias samples to use for the stand-alone application window. |
bool HPS::StandAloneWindowOptionsKit::ShowDriver | ( | Window::Driver & | out_driver | ) | const |
Shows the driver for this StandAloneWindowOptionsKit.
out_driver | The driver for this StandAloneWindowOptionsKit. |
bool HPS::StandAloneWindowOptionsKit::ShowFullScreen | ( | bool & | out_state | ) | const |
Shows whether the associated stand-alone window should fill the screen.
out_state | Whether the associated stand-alone window should fill the screen. |
bool HPS::StandAloneWindowOptionsKit::ShowMobility | ( | Window::Mobility & | out_mobility | ) | const |
Shows the mobility for this StandAloneWindowOptionsKit.
out_mobility | The mobility for this StandAloneWindowOptionsKit. |
bool HPS::StandAloneWindowOptionsKit::ShowSubscreen | ( | Rectangle & | out_subscreen | ) | const |
Shows the subscreen for this StandAloneWindowOptionsKit.
out_subscreen | The subscreen for this StandAloneWindowOptionsKit. |
bool HPS::StandAloneWindowOptionsKit::ShowTitle | ( | UTF8 & | out_window_name | ) | const |
Shows the title for this StandAloneWindowOptionsKit.
out_window_name | UTF8-encoded title for this StandAloneWindowOptionsKit. |
|
inlinevirtualinherited |
This function returns the true type of the underlying object.
This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
Reimplemented from HPS::Object.
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::UnsetAntiAliasCapable | ( | ) |
Removes the anti-alias options for this StandAloneWindowOptionsKit.
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::UnsetDriver | ( | ) |
Removes the driver for this StandAloneWindowOptionsKit.
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::UnsetEverything | ( | ) |
Removes all settings from this StandAloneWindowOptionsKit.
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::UnsetFullScreen | ( | ) |
Removes whether the associated stand-alone window should fill the screen.
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::UnsetMobility | ( | ) |
Removes the mobility for this StandAloneWindowOptionsKit.
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::UnsetSubscreen | ( | ) |
Removes the subscreen for this StandAloneWindowOptionsKit.
StandAloneWindowOptionsKit& HPS::StandAloneWindowOptionsKit::UnsetTitle | ( | ) |
Removes the title for this StandAloneWindowOptionsKit.
|
static |