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