Audacity  3.0.3
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,
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
RefreshCode::DrawOverlays
@ DrawOverlays
Definition: RefreshCode.h:32
RefreshCode::FixScrollbars
@ FixScrollbars
Definition: RefreshCode.h:27
RefreshCode::RefreshAll
@ RefreshAll
Definition: RefreshCode.h:26
RefreshCode::RefreshNone
@ RefreshNone
Definition: RefreshCode.h:21
RefreshCode::Cancelled
@ Cancelled
Definition: RefreshCode.h:23
RefreshCode::EnsureVisible
@ EnsureVisible
Definition: RefreshCode.h:31
RefreshCode::Resize
@ Resize
Definition: RefreshCode.h:28
RefreshCode::UpdateVRuler
@ UpdateVRuler
Definition: RefreshCode.h:30
RefreshCode::RefreshCell
@ RefreshCell
Definition: RefreshCode.h:24
RefreshCode::RefreshLatestCell
@ RefreshLatestCell
Definition: RefreshCode.h:25
RefreshCode::DestroyedCell
@ DestroyedCell
Definition: RefreshCode.h:34
RefreshCode
Namespace containing an enum 'what to do on a refresh?'.
Definition: RefreshCode.h:16