acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_text_stream.h
1//
2// Created by camilo on 25/06/2023 20:54 <3ThomasBorregaardSorensen!!
3//
4#pragma once
5
6
7#include "_string.h"
8
9
10inline ::write_text_stream & operator <<(::write_text_stream & textstream, const ::e_display & edisplay)
11{
12
13 return textstream << ::as_string(edisplay);
14
15}
16
17
18
19inline ::write_text_stream & operator <<(::write_text_stream & textstream, ::user::enum_activation useractivation)
20{
21
22 return textstream << ::as_string(useractivation);
23
24}
25
26
27inline ::write_text_stream & operator <<(::write_text_stream & textstream, ::enum_cursor ecursor)
28{
29
30 return textstream << ::as_string(ecursor);
31
32}
33
34
35//
36//
37//template < typename FILE, prototype_rectangle RECTANGLE >
38//inline ::write_text_stream < FILE > & operator <<(::write_text_stream < FILE > & textstream, const RECTANGLE & rectangle)
39//{
40//
41// return textstream << "xy(" << rectangle.left << ", " << rectangle.top << ")-wh(" << rectangle.width() << ", " << rectangle.height() << ")";
42//
43//}
44//
45//
Definition write_text_stream.h:43