diff options
author | Jacek Antonelli | 2009-01-16 15:41:01 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-01-16 15:41:25 -0600 |
commit | a7ee24a9ed954a09632ebe9371a0c1783fee9dc3 (patch) | |
tree | b95b78a075a67b59a07878fd2371bd22d3374f1e /linden/indra/newview/llinventoryview.h | |
parent | Fixed folders expanding when Show Filters is opened. (diff) | |
download | meta-impy-a7ee24a9ed954a09632ebe9371a0c1783fee9dc3.zip meta-impy-a7ee24a9ed954a09632ebe9371a0c1783fee9dc3.tar.gz meta-impy-a7ee24a9ed954a09632ebe9371a0c1783fee9dc3.tar.bz2 meta-impy-a7ee24a9ed954a09632ebe9371a0c1783fee9dc3.tar.xz |
Use UI callbacks to initiate rebuilding filter.
Instead of rebuilding from draw() every frame.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llinventoryview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llinventoryview.h b/linden/indra/newview/llinventoryview.h index 26f3003..439f869 100644 --- a/linden/indra/newview/llinventoryview.h +++ b/linden/indra/newview/llinventoryview.h | |||
@@ -170,7 +170,11 @@ public: | |||
170 | BOOL getCheckShowEmpty(); | 170 | BOOL getCheckShowEmpty(); |
171 | BOOL getCheckSinceLogoff(); | 171 | BOOL getCheckSinceLogoff(); |
172 | 172 | ||
173 | /** Callback when an inventory type checkbox is changed. */ | ||
174 | static void onCheckFilterType(LLUICtrl *ctrl, void *user_data); | ||
175 | |||
173 | static void onTimeAgo(LLUICtrl*, void *); | 176 | static void onTimeAgo(LLUICtrl*, void *); |
177 | static void onCheckShowEmptyFolders(LLUICtrl*, void *); | ||
174 | static void onCheckSinceLogoff(LLUICtrl*, void *); | 178 | static void onCheckSinceLogoff(LLUICtrl*, void *); |
175 | static void onCloseBtn(void* user_data); | 179 | static void onCloseBtn(void* user_data); |
176 | static void selectAllTypes(void* user_data); | 180 | static void selectAllTypes(void* user_data); |