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