Mercurial > ~dholland > hg > ag > index.cgi
comparison examples/dsl/screen.h @ 14:a02e9434072e
Fix friend declaration for gcc10.
XXX: did not check it against the IBM compiler, might end up needing
XXX: to be conditional.
author | David A. Holland |
---|---|
date | Tue, 31 May 2022 00:59:42 -0400 |
parents | 13d2b8934445 |
children |
comparison
equal
deleted
inserted
replaced
13:43d8b194fb4e | 14:a02e9434072e |
---|---|
86 | 86 |
87 // Build a screen rectangle at relative coordinates | 87 // Build a screen rectangle at relative coordinates |
88 screen_rect at(int,int,int = 0); | 88 screen_rect at(int,int,int = 0); |
89 | 89 |
90 // Build a single line rectange at absolute coordinates | 90 // Build a single line rectange at absolute coordinates |
91 friend screen_rect line(int, int, int, int = 0); | 91 friend screen_rect line(int, int, int, int /*= 0*/); |
92 | 92 |
93 // Build a single line rectangle at relative coordinates | 93 // Build a single line rectangle at relative coordinates |
94 screen_rect line(int,int,int,int = 0) const; | 94 screen_rect line(int,int,int,int = 0) const; |
95 | 95 |
96 // Read the contents of a screen rectangle | 96 // Read the contents of a screen rectangle |