Rose
|
User Interface Visual types. More...
#include <iostream>
#include <utility>
#include <optional>
#include <limits>
#include "Callbacks.h"
#include "StructuredTypes.h"
#include "Types.h"
#include "Utilities.h"
#include "Texture.h"
Go to the source code of this file.
Classes | |
struct | rose::State |
A type to specify a state. More... | |
struct | rose::SemanticGesture |
The type of semantic gesture supported by a Widget. More... | |
class | rose::LayoutHint |
class | rose::Visual |
The properties common to all visual objects on the screen. More... | |
class | rose::Screen |
An abstraction of the available display screen. More... | |
class | rose::Window |
A Window is a visual abstraction of a number of related user interface objects. More... | |
class | rose::LayoutManager |
A pure virtual base class for layout managers. More... | |
class | rose::SimpleLayout |
A Simple layout manager. More... | |
class | rose::LayoutManagerError |
An exception to indicate runtime error during layout. More... | |
class | rose::Widget |
An element of the application user interface. More... | |
class | rose::Manager |
A Widget which manages contained Widgets. More... | |
class | rose::Parent |
A type used to extract the parent from a Widget. More... | |
Namespaces | |
rose | |
ToDo: There is an issue that the initial scroll interaction is lost if the click/press lands on a Widget and not a Container (by user observation). | |
Functions | |
template<class Layout , typename ... Args> | |
std::unique_ptr< Layout > | rose::makeLayout (Args ... args) |
template<class WidgetClass , typename ... Args> | |
std::shared_ptr< WidgetClass > | rose::wdg (Args ... args) |
Create a Widget. More... | |
template<class WidgetClass > | |
std::shared_ptr< WidgetClass > | operator>> (std::shared_ptr< WidgetClass > widget, std::shared_ptr< rose::Widget > &store) |
An extraction operator to store a Widget in a std::shared_ptr<Widget>. More... | |
template<class WidgetClass > | |
std::shared_ptr< WidgetClass > | operator>> (std::shared_ptr< WidgetClass > widget, std::shared_ptr< WidgetClass > &store) |
An extraction operator to store a Widget in a specifically typed std::shared_ptr<WidgetClass>. More... | |
template<class WidgetClass > | |
std::shared_ptr< rose::Manager > | operator<< (std::shared_ptr< WidgetClass > widget, const rose::Parent &) |
An insertion operator that take a Parent value and returns the parent of a Widget. More... | |
template<class WidgetClass > | |
std::shared_ptr< WidgetClass > | operator<< (std::shared_ptr< WidgetClass > widget, const rose::Size &size) |
An insertion operator to set the preferred size of a Widget. More... | |
template<class WidgetClass > | |
std::shared_ptr< WidgetClass > | operator<< (std::shared_ptr< WidgetClass > widget, const rose::Position< int > &position) |
An insertion operator to set the preferred Position of a Widget. More... | |
template<class ContainerClass , class WidgetClass > | |
std::shared_ptr< WidgetClass > | operator<< (std::shared_ptr< ContainerClass > container, std::shared_ptr< WidgetClass > widget) |
Insertion operator to place a Widget in a Container. More... | |
template<class WidgetClass > | |
std::shared_ptr< WidgetClass > | operator<< (std::shared_ptr< WidgetClass > widget, std::unique_ptr< rose::LayoutManager > &&layout) |
An insertion operator to set the LayoutManager of a Manager. More... | |
template<class WidgetClass > | |
std::shared_ptr< WidgetClass > | operator<< (std::shared_ptr< WidgetClass > widget, const rose::Padding &padding) |
An insertion operator to set the Padding of a Widget. More... | |
template<class WidgetClass > | |
std::shared_ptr< WidgetClass > | operator<< (std::shared_ptr< WidgetClass > widget, const rose::LayoutHint &hint) |
An insertion operator to set a LyoutHing on a Widget. More... | |
User Interface Visual types.
|
inline |
An insertion operator to set a LyoutHing on a Widget.
WidgetClass | The class of the Widget. |
widget | The Widget. |
hint | The LayoutHint. |
|
inline |
An insertion operator that take a Parent value and returns the parent of a Widget.
WidgetClass | The class of the Widget. |
widget | The Widget. |
|
inline |
Insertion operator to place a Widget in a Container.
ContainerClass | The class of the Container. |
WidgetClass | The class of the Widget. |
container | The container. |
widget | The Widget. |
|
inline |
An insertion operator to set the LayoutManager of a Manager.
WidgetClass | The class of the Manager. |
widget | The Manager. |
layout | The LayoutManger. |
|
inline |
An insertion operator to set the preferred Position of a Widget.
WidgetClass | The class of the Widget. |
widget | The Widget. |
position | The Position. |
|
inline |
An insertion operator to set the Padding of a Widget.
WidgetClass | The class of the Widget. |
widget | The Widget. |
padding | The Padding. |
|
inline |
An insertion operator to set the preferred size of a Widget.
WidgetClass | The class of the Widget. |
widget | The Widget. |
size | The Size. |
|
inline |
An extraction operator to store a Widget in a std::shared_ptr<Widget>.
Acting like a 'Tee' operation the Widget is both saved and passed on to be used in further processing.
WidgetClass | The class of the Widget. |
widget | The widget. |
store | The variable that will store the std::shared_ptr<Widget>. |
|
inline |
An extraction operator to store a Widget in a specifically typed std::shared_ptr<WidgetClass>.
Acting like a 'Tee' operation the Widget is both saved and passed on to be used in further processing.
WidgetClass | The class of the Widget. |
widget | The widget. |
store | The variable that will store the std::shared_ptr<WidgetClass>. |