diff options
Diffstat (limited to 'linden/indra/newview/llpreviewnotecard.h')
-rw-r--r-- | linden/indra/newview/llpreviewnotecard.h | 20 |
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 @@ | |||
46 | class LLTextEditor; | 46 | class LLTextEditor; |
47 | class LLViewerTextEditor; | 47 | class LLViewerTextEditor; |
48 | class LLButton; | 48 | class LLButton; |
49 | class LLMenuBarGL; | ||
49 | 50 | ||
50 | class LLPreviewNotecard : public LLPreview | 51 | class 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 | |||
111 | protected: | 131 | protected: |
112 | LLViewerTextEditor* mEditor; | 132 | LLViewerTextEditor* mEditor; |
113 | LLButton* mSaveBtn; | 133 | LLButton* mSaveBtn; |