#include "Color.h"
#include "Font.h"
#include "GraphicsModel.h"
#include <string>
#include <utility>
#include <regex>
Go to the source code of this file.
|
| 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).
|
|
|
template<class WidgetClass > |
std::shared_ptr< WidgetClass > | operator<< (std::shared_ptr< WidgetClass > widget, rose::PointSize pointSize) |
| Insertion operator to set PointSize on a Text. More...
|
|
template<class WidgetClass > |
std::shared_ptr< WidgetClass > | operator<< (std::shared_ptr< WidgetClass > widget, rose::FontName fontName) |
| Insertion operator to set Font name on a Text. More...
|
|
◆ operator<<() [1/2]
template<class WidgetClass >
std::shared_ptr<WidgetClass> operator<< |
( |
std::shared_ptr< WidgetClass > |
widget, |
|
|
rose::PointSize |
pointSize |
|
) |
| |
|
inline |
Insertion operator to set PointSize on a Text.
- Template Parameters
-
WidgetClass | The class of the Widget. |
- Parameters
-
widget | The Widget. |
pointSize | The PointSize. |
- Returns
- The Widget.
◆ operator<<() [2/2]
template<class WidgetClass >
std::shared_ptr<WidgetClass> operator<< |
( |
std::shared_ptr< WidgetClass > |
widget, |
|
|
rose::FontName |
fontName |
|
) |
| |
|
inline |
Insertion operator to set Font name on a Text.
- Template Parameters
-
WidgetClass | The class of the Widget. |
- Parameters
-
widget | The Widget. |
pointSize | The FontName. |
- Returns
- The Widget.