Audacity  2.2.0
RefreshCode.h
Go to the documentation of this file.
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 
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 {
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,
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
Definition: RefreshCode.h:25
Definition: RefreshCode.h:30
Definition: RefreshCode.h:21
Definition: RefreshCode.h:32
Definition: RefreshCode.h:24
Definition: RefreshCode.h:34
Definition: RefreshCode.h:29
Definition: RefreshCode.h:23
Definition: RefreshCode.h:28
Definition: RefreshCode.h:31
Definition: RefreshCode.h:27
Definition: RefreshCode.h:26