aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lluictrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/lluictrl.h')
-rw-r--r--linden/indra/llui/lluictrl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/llui/lluictrl.h b/linden/indra/llui/lluictrl.h
index 47b5d66..3093437 100644
--- a/linden/indra/llui/lluictrl.h
+++ b/linden/indra/llui/lluictrl.h
@@ -5,6 +5,7 @@
5 * 5 *
6 * Copyright (c) 2001-2007, Linden Research, Inc. 6 * Copyright (c) 2001-2007, Linden Research, Inc.
7 * 7 *
8 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 9 * The source code in this file ("Source Code") is provided by Linden Lab
9 * to you under the terms of the GNU General Public License, version 2.0 10 * to you under the terms of the GNU General Public License, version 2.0
10 * ("GPL"), unless you have obtained a separate licensing agreement 11 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -123,6 +124,7 @@ public:
123 virtual void setMaxValue(LLSD max_value); 124 virtual void setMaxValue(LLSD max_value);
124 125
125 // In general, only LLPanel uses these. 126 // In general, only LLPanel uses these.
127 void setFocusLostCallback(void (*cb)(LLUICtrl* caller, void* user_data)) { mFocusLostCallback = cb; }
126 void setFocusReceivedCallback( void (*cb)(LLUICtrl*, void*) ) { mFocusReceivedCallback = cb; } 128 void setFocusReceivedCallback( void (*cb)(LLUICtrl*, void*) ) { mFocusReceivedCallback = cb; }
127 void setFocusChangedCallback( void (*cb)(LLUICtrl*, void*) ) { mFocusChangedCallback = cb; } 129 void setFocusChangedCallback( void (*cb)(LLUICtrl*, void*) ) { mFocusChangedCallback = cb; }
128 130
@@ -154,6 +156,7 @@ protected:
154protected: 156protected:
155 157
156 void (*mCommitCallback)( LLUICtrl* ctrl, void* userdata ); 158 void (*mCommitCallback)( LLUICtrl* ctrl, void* userdata );
159 void (*mFocusLostCallback)( LLUICtrl* caller, void* userdata );
157 void (*mFocusReceivedCallback)( LLUICtrl* ctrl, void* userdata ); 160 void (*mFocusReceivedCallback)( LLUICtrl* ctrl, void* userdata );
158 void (*mFocusChangedCallback)( LLUICtrl* ctrl, void* userdata ); 161 void (*mFocusChangedCallback)( LLUICtrl* ctrl, void* userdata );
159 BOOL (*mValidateCallback)( LLUICtrl* ctrl, void* userdata ); 162 BOOL (*mValidateCallback)( LLUICtrl* ctrl, void* userdata );