aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewnotecard.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpreviewnotecard.h')
-rw-r--r--linden/indra/newview/llpreviewnotecard.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/linden/indra/newview/llpreviewnotecard.h b/linden/indra/newview/llpreviewnotecard.h
index 6563acd..75d1a50 100644
--- a/linden/indra/newview/llpreviewnotecard.h
+++ b/linden/indra/newview/llpreviewnotecard.h
@@ -46,6 +46,7 @@
46class LLTextEditor; 46class LLTextEditor;
47class LLViewerTextEditor; 47class LLViewerTextEditor;
48class LLButton; 48class LLButton;
49class LLMenuBarGL;
49 50
50class LLPreviewNotecard : public LLPreview 51class LLPreviewNotecard : public LLPreview
51{ 52{
@@ -108,6 +109,25 @@ protected:
108 109
109 virtual const char *getTitleName() const { return "Note"; } 110 virtual const char *getTitleName() const { return "Note"; }
110 111
112 void initMenu();
113
114 static void onSearchMenu(void* userdata);
115 static void onUndoMenu(void* userdata);
116 static void onRedoMenu(void* userdata);
117 static void onCutMenu(void* userdata);
118 static void onCopyMenu(void* userdata);
119 static void onPasteMenu(void* userdata);
120 static void onSelectAllMenu(void* userdata);
121 static void onDeselectMenu(void* userdata);
122
123 static BOOL enableUndoMenu(void* userdata);
124 static BOOL enableRedoMenu(void* userdata);
125 static BOOL enableCutMenu(void* userdata);
126 static BOOL enableCopyMenu(void* userdata);
127 static BOOL enablePasteMenu(void* userdata);
128 static BOOL enableSelectAllMenu(void* userdata);
129 static BOOL enableDeselectMenu(void* userdata);
130
111protected: 131protected:
112 LLViewerTextEditor* mEditor; 132 LLViewerTextEditor* mEditor;
113 LLButton* mSaveBtn; 133 LLButton* mSaveBtn;