diff options
Diffstat (limited to 'CruUI/ui/ui_base.h')
-rw-r--r-- | CruUI/ui/ui_base.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CruUI/ui/ui_base.h b/CruUI/ui/ui_base.h index c9ae6017..43f3c498 100644 --- a/CruUI/ui/ui_base.h +++ b/CruUI/ui/ui_base.h @@ -137,5 +137,18 @@ namespace cru Right, Middle }; + + struct TextRange + { + constexpr TextRange() = default; + constexpr TextRange(const int position, const int count) + : position(position), count(count) + { + + } + + unsigned position = 0; + unsigned count = 0; + }; } } |