1 /********************************************************************** 2 3 Audacity: A Digital Audio Editor 4 5 RefreshCode.h 6 7 Paul Licameli 8 9 **********************************************************************/ 10 11 #ifndef __AUDACITY_REFRESH_CODE__ 12 #define __AUDACITY_REFRESH_CODE__ 13 14 /// Namespace containing an enum 'what to do on a refresh?' 15 namespace RefreshCode 16 { 17 18 // Bit flags for composing a result that directs the 19 // framework whether to continue, and what to redraw 20 enum { 21 RefreshNone = 0, 22 23 Cancelled = 0x1, 24 RefreshCell = 0x2, // Refresh the cell passed to Click() 25 RefreshLatestCell = 0x4, // Refresh the cell passed to latest call 26 RefreshAll = 0x8, 27 FixScrollbars = 0x10, 28 Resize = 0x20, 29 /* 0x40 not used */ 30 UpdateVRuler = 0x80, // of the clicked track 31 EnsureVisible = 0x100, // for the clicked track 32 DrawOverlays = 0x200, 33 34 DestroyedCell = 0x8000, // true if the CLICKED cell was destroyed 35 }; 36 37 } 38 39 40 41 #endif 42