aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatercustomize.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-30 13:04:20 -0500
committerJacek Antonelli2009-04-30 13:07:16 -0500
commitca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch)
tree8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/llfloatercustomize.h
parentSecond Life viewer sources 1.22.11 (diff)
downloadmeta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz
Second Life viewer sources 1.23.0-RC
Diffstat (limited to 'linden/indra/newview/llfloatercustomize.h')
-rw-r--r--linden/indra/newview/llfloatercustomize.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/linden/indra/newview/llfloatercustomize.h b/linden/indra/newview/llfloatercustomize.h
index 15fc8f1..28a525e 100644
--- a/linden/indra/newview/llfloatercustomize.h
+++ b/linden/indra/newview/llfloatercustomize.h
@@ -17,7 +17,8 @@
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 20 * online at
21 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 22 *
22 * By copying, modifying or distributing this software, you acknowledge 23 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 24 * that you have read and understood your obligations described above,
@@ -81,6 +82,8 @@ public:
81 // Inherted methods from LLFloater (and above) 82 // Inherted methods from LLFloater (and above)
82 virtual void onClose(bool app_quitting); 83 virtual void onClose(bool app_quitting);
83 virtual void draw(); 84 virtual void draw();
85 /*virtual*/ void open();
86
84 87
85 // New methods 88 // New methods
86 void clearScrollingPanelList(); 89 void clearScrollingPanelList();
@@ -88,8 +91,6 @@ public:
88 param_map& params); 91 param_map& params);
89 92
90 const std::string& getEditGroup(); 93 const std::string& getEditGroup();
91 void addVisualParamToUndoBuffer( LLViewerVisualParam* param, F32 current_weight );
92
93 void updateScrollingPanelList(BOOL allow_modify); 94 void updateScrollingPanelList(BOOL allow_modify);
94 95
95 void setWearable(EWearableType type, LLWearable* wearable, U32 perm_mask, BOOL is_complete); 96 void setWearable(EWearableType type, LLWearable* wearable, U32 perm_mask, BOOL is_complete);
@@ -97,9 +98,7 @@ public:
97 98
98 virtual BOOL isDirty() const; 99 virtual BOOL isDirty() const;
99 100
100 void askToSaveAllIfDirty( void(*next_step_callback)(BOOL proceed, void* userdata), void* userdata ); 101 void askToSaveIfDirty( void(*next_step_callback)(BOOL proceed, void* userdata), void* userdata );
101
102 void spawnWearableAppearance( EWearableType type );
103 102
104 void switchToDefaultSubpart(); 103 void switchToDefaultSubpart();
105 104
@@ -107,13 +106,14 @@ public:
107 static EWearableType getCurrentWearableType() { return sCurrentWearableType; } 106 static EWearableType getCurrentWearableType() { return sCurrentWearableType; }
108 107
109 // Callbacks 108 // Callbacks
110 static void onBtnSaveAll( void* userdata ); 109 static void onBtnOk( void* userdata );
111 static void onBtnSnapshot( void* userdata );
112 static void onBtnMakeOutfit( void* userdata ); 110 static void onBtnMakeOutfit( void* userdata );
113 static void onMakeOutfitCommit( LLMakeOutfitDialog* dialog, void* userdata ); 111 static void onMakeOutfitCommit( LLMakeOutfitDialog* dialog, void* userdata );
114 112
115 static void onTabChanged( void* userdata, bool from_click ); 113 static void onTabChanged( void* userdata, bool from_click );
116 static void onSaveAllDialog( S32 option, void* userdata ); 114 static void onTabPrecommit( void* userdata, bool from_click );
115 bool onSaveDialog(const LLSD& notification, const LLSD& response);
116 static void onCommitChangeTab(BOOL proceed, void* userdata);
117 117
118 void fetchInventory(); 118 void fetchInventory();
119 void updateInventoryUI(); 119 void updateInventoryUI();
@@ -126,13 +126,12 @@ protected:
126 126
127 LLScrollingPanelList* mScrollingPanelList; 127 LLScrollingPanelList* mScrollingPanelList;
128 LLScrollableContainerView* mScrollContainer; 128 LLScrollableContainerView* mScrollContainer;
129 LLGenePool* mGenePool;
130 LLVisualParamReset* mResetParams; 129 LLVisualParamReset* mResetParams;
131 130
132 LLInventoryObserver* mInventoryObserver; 131 LLInventoryObserver* mInventoryObserver;
133 132
134 void (*mNextStepAfterSaveAllCallback)(BOOL proceed, void* userdata); 133 void (*mNextStepAfterSaveCallback)(BOOL proceed, void* userdata);
135 void* mNextStepAfterSaveAllUserdata; 134 void* mNextStepAfterSaveUserdata;
136 135
137 136
138protected: 137protected: