UI cleanup.
-Added ui-local transformation matrix. -Gutted legacy commitcallbacks throughout ui widget ctors. -Created filter_editor ui widget which issues commit on keypress -search_editor commits on focus loss/enter press -search_editor and filter_editor now have a built in 'x' button to clear text. -LLComboBox::setPrearrangeCallback now uses boost::function -LLComboBox::setTextEntryCallback now uses boost::function -LLLineEditor::setKeystrokeCallback now uses boost::function -LLLineEditor::setPrevalidate now uses boost::function -LLPanel::childSetKeystrokeCallback removed -LLPanel::childSetPrevalidate removed -LLPanel::childSetActionTextbox now uses boost::function -LLTextBox::setClickedCallback now uses boost::function -LLTextEditor::setKeystrokeCallback added. -Cleaned up JCFloaterAreaSearch
This commit is contained in:
@@ -68,8 +68,7 @@ class LLCheckBoxCtrl
|
||||
public:
|
||||
LLCheckBoxCtrl(const std::string& name, const LLRect& rect, const std::string& label,
|
||||
const LLFontGL* font = NULL,
|
||||
void (*commit_callback)(LLUICtrl*, void*) = NULL,
|
||||
void* callback_userdata = NULL,
|
||||
commit_callback_t commit_callback = NULL,
|
||||
BOOL initial_value = FALSE,
|
||||
BOOL use_radio_style = FALSE, // if true, draw radio button style icons
|
||||
const std::string& control_which = LLStringUtil::null);
|
||||
@@ -113,7 +112,7 @@ public:
|
||||
virtual void setControlName(const std::string& control_name, LLView* context);
|
||||
virtual std::string getControlName() const;
|
||||
|
||||
static void onButtonPress(void *userdata);
|
||||
void onButtonPress(const LLSD& data);
|
||||
|
||||
virtual BOOL isDirty() const; // Returns TRUE if the user has modified this control.
|
||||
virtual void resetDirty(); // Clear dirty state
|
||||
|
||||
Reference in New Issue
Block a user