diff options
Diffstat (limited to 'src/SharedDefs.hpp')
-rw-r--r-- | src/SharedDefs.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp index 53a9850a..068d61f6 100644 --- a/src/SharedDefs.hpp +++ b/src/SharedDefs.hpp @@ -22,4 +22,8 @@ enum eRenderStage RENDER_POST_MIRROR, /* After rendering a mirror */ RENDER_PRE_WINDOW, /* Before rendering a window (any pass) Note some windows (e.g. tiled) may have 2 passes (main & popup) */ RENDER_POST_WINDOW, /* After rendering a window (any pass) */ +}; + +struct SCallbackInfo { + bool cancelled = false; /* on cancellable events, will cancel the event. */ };
\ No newline at end of file |