view Applications/Samples/Deprecated/StoneSampleCommands.yml @ 1370:28eb7106ef44 broker

Changes to GuiAdapter to allow it to work correctly with both new and old Emscripten event selection rules that are defined by the DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR linker flag. Doc has been added to GuiAdapter.cpp, should you require more info on what has been done.
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 20 Apr 2020 13:08:43 +0200
parents bfd77672d825
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