mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
improve to_json(StyleP)
This commit is contained in:
@@ -57,6 +57,8 @@ RealPoint align_in_rect(Alignment align, const RealSize& to_align, const RealRec
|
||||
|
||||
Alignment alignment_from_string(const String&);
|
||||
|
||||
String alignment_to_string(const Alignment&);
|
||||
|
||||
// ----------------------------------------------------------------------------- : Direction
|
||||
|
||||
/// Direction to place something in
|
||||
@@ -75,3 +77,5 @@ enum Direction {
|
||||
/** If the direction is horizontal the to_move.width is used, otherwise to_move.height */
|
||||
RealPoint move_in_direction(Direction dir, const RealPoint& point, const RealSize to_move, double spacing = 0);
|
||||
|
||||
String direction_to_string(const Direction&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user