diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-01 18:07:04 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-01 18:07:04 -0400 |
commit | bec6f657f405cb27939ec42ae35c0cc9d524bbb9 (patch) | |
tree | d7cef60e532041b650ef9c54c8645607f21c3b12 /ext/wittle_generator/Panel.h | |
parent | 63624385ccc66f6a2f40797baad1972957e34863 (diff) | |
download | wittle-bec6f657f405cb27939ec42ae35c0cc9d524bbb9.tar.gz wittle-bec6f657f405cb27939ec42ae35c0cc9d524bbb9.tar.bz2 wittle-bec6f657f405cb27939ec42ae35c0cc9d524bbb9.zip |
invisible symmetry!
Diffstat (limited to 'ext/wittle_generator/Panel.h')
-rw-r--r-- | ext/wittle_generator/Panel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/wittle_generator/Panel.h b/ext/wittle_generator/Panel.h index b8dec2f..95832b5 100644 --- a/ext/wittle_generator/Panel.h +++ b/ext/wittle_generator/Panel.h | |||
@@ -169,6 +169,8 @@ class Panel { | |||
169 | int get(int x, int y) { return _grid[x][y]; } | 169 | int get(int x, int y) { return _grid[x][y]; } |
170 | void set(int x, int y, int val) { _grid[x][y] = val; } | 170 | void set(int x, int y, int val) { _grid[x][y] = val; } |
171 | 171 | ||
172 | void SetInvisibleSymmetry(bool val) { _invisible_symmetry = val; } | ||
173 | |||
172 | std::string Write(); | 174 | std::string Write(); |
173 | 175 | ||
174 | enum Style { | 176 | enum Style { |
@@ -447,6 +449,7 @@ class Panel { | |||
447 | float minx, miny, maxx, maxy, unitWidth, unitHeight; | 449 | float minx, miny, maxx, maxy, unitWidth, unitHeight; |
448 | int _style; | 450 | int _style; |
449 | bool _resized; | 451 | bool _resized; |
452 | bool _invisible_symmetry = false; | ||
450 | }; | 453 | }; |
451 | 454 | ||
452 | #endif /* end of include guard: PANEL_H_FC471D68 */ | 455 | #endif /* end of include guard: PANEL_H_FC471D68 */ |