enums.nim 661 B

1234567891011121314
  1. # author: Ethosa
  2. type
  3. MouseMode* {.size: sizeof(int8).} = enum
  4. MOUSEMODE_IGNORE = 0x00000001 ## Igore mouse input. This used in Control nodes
  5. MOUSEMODE_SEE = 0x00000002 ## Handle mouse input.
  6. PauseMode* {.size: sizeof(int8).} = enum
  7. PROCESS, ## Continue to work when the window paused.
  8. PAUSE, ## Pause work when the window paused.
  9. INHERIT ## Take parent value.
  10. TextureMode* {.size: sizeof(int8).} = enum
  11. TEXTURE_FILL_XY, ## Fill texture without keeping the aspect ratio.
  12. TEXTURE_KEEP_ASPECT_RATIO, ## Fill texture with keeping the aspect ratio.
  13. TEXTURE_CROP ## Crop and fill texture.