From 369e736e3f0cc5ca043c5f29dfc5193f688a637f Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Wed, 14 Jul 2010 05:37:58 -0700 Subject: Added basic File menu to notecards (save, import, export) and made the script editor File menu consistent with it. TODO: create new notecard format that includes attached inventory --- linden/indra/newview/llpreviewnotecard.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linden/indra/newview/llpreviewnotecard.h') diff --git a/linden/indra/newview/llpreviewnotecard.h b/linden/indra/newview/llpreviewnotecard.h index a879fec..e3129ec 100644 --- a/linden/indra/newview/llpreviewnotecard.h +++ b/linden/indra/newview/llpreviewnotecard.h @@ -112,6 +112,9 @@ protected: void initMenu(); + static void onSaveMenu(void* userdata); + static void onExportTextMenu(void* userdata); + static void onImportTextMenu(void* userdata); static void onSearchMenu(void* userdata); static void onUndoMenu(void* userdata); static void onRedoMenu(void* userdata); @@ -121,6 +124,9 @@ protected: static void onSelectAllMenu(void* userdata); static void onDeselectMenu(void* userdata); + static BOOL enableSaveMenu(void* userdata); + static BOOL enableExportTextMenu(void* userdata); + static BOOL enableImportTextMenu(void* userdata); static BOOL enableUndoMenu(void* userdata); static BOOL enableRedoMenu(void* userdata); static BOOL enableCutMenu(void* userdata); -- cgit v1.1