view Applications/Samples/StoneSampleCommands.yml @ 1228:c471a0aa137b broker

adding the next generation of loaders
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Dec 2019 13:58:37 +0100
parents b1377625e4ba
children
line wrap: on
line source

#
#        1         2         3         4         5         6         7         8
# 345678901234567890123456789012345678901234567890123456789012345678901234567890
#
rootName: StoneSampleCommands

# +---------------------------------+
# | Messages from TypeScript to C++ |
# +---------------------------------+

enum Tool:
  - LineMeasure
  - CircleMeasure
  - Crop
  - Windowing
  - Zoom
  - Pan
  - Move
  - Rotate
  - Resize
  - Mask

struct SelectTool:
  __handler: cpp
  tool: Tool

enum ActionType:
  - UndoCrop
  - Rotate
  - Invert

struct Action:
  __handler: cpp
  type: ActionType