#include <array>
#include <iostream>
#include <iomanip>
#include <tuple>
#include <SDL.h>
#include "Constants.h"
#include "Utilities.h"
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<typename T , size_t N> |
std::ostream & | operator<< (std::ostream &strm, const std::array< T, N > &array) |
| An output stream inserter to print ScreenMetrics. More...
|
|
template<typename T > |
std::ostream & | operator<< (std::ostream &strm, const std::optional< T > &opt) |
| An output stream inserter to print a std::optional Rectangle, Position or Size. More...
|
|
◆ operator<<() [1/2]
template<typename T , size_t N>
std::ostream& operator<< |
( |
std::ostream & |
strm, |
|
|
const std::array< T, N > & |
array |
|
) |
| |
|
inline |
An output stream inserter to print ScreenMetrics.
- Template Parameters
-
T | The underlying type. |
N | The size |
- Parameters
-
strm | The output stream. |
array | The ScreenMetric |
- Returns
- The output stream.
◆ operator<<() [2/2]
template<typename T >
std::ostream& operator<< |
( |
std::ostream & |
strm, |
|
|
const std::optional< T > & |
opt |
|
) |
| |
|
inline |
An output stream inserter to print a std::optional Rectangle, Position or Size.
- Template Parameters
-
- Parameters
-
strm | The output stream. |
opt | The std::optional |
- Returns
- The output stream.