aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llbutton.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llui/llbutton.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/llui/llbutton.h')
-rw-r--r--linden/indra/llui/llbutton.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/linden/indra/llui/llbutton.h b/linden/indra/llui/llbutton.h
index 18f4e07..a101a3c 100644
--- a/linden/indra/llui/llbutton.h
+++ b/linden/indra/llui/llbutton.h
@@ -87,16 +87,15 @@ public:
87 87
88 virtual ~LLButton(); 88 virtual ~LLButton();
89 void init(void (*click_callback)(void*), void *callback_data, const LLFontGL* font, const LLString& control_name); 89 void init(void (*click_callback)(void*), void *callback_data, const LLFontGL* font, const LLString& control_name);
90 virtual EWidgetType getWidgetType() const; 90
91 virtual LLString getWidgetTag() const;
92 91
93 void addImageAttributeToXML(LLXMLNodePtr node, const LLString& imageName, 92 void addImageAttributeToXML(LLXMLNodePtr node, const LLString& imageName,
94 const LLUUID& imageID,const LLString& xmlTagName) const; 93 const LLUUID& imageID,const LLString& xmlTagName) const;
95 virtual LLXMLNodePtr getXML(bool save_children = true) const; 94 virtual LLXMLNodePtr getXML(bool save_children = true) const;
96 static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory); 95 static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory);
97 96
98 virtual BOOL handleUnicodeCharHere(llwchar uni_char, BOOL called_from_parent); 97 virtual BOOL handleUnicodeCharHere(llwchar uni_char);
99 virtual BOOL handleKeyHere(KEY key, MASK mask, BOOL called_from_parent); 98 virtual BOOL handleKeyHere(KEY key, MASK mask);
100 virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); 99 virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask);
101 virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); 100 virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask);
102 virtual BOOL handleHover(S32 x, S32 y, MASK mask); 101 virtual BOOL handleHover(S32 x, S32 y, MASK mask);
@@ -104,7 +103,6 @@ public:
104 103
105 virtual void onMouseCaptureLost(); 104 virtual void onMouseCaptureLost();
106 105
107 // HACK: "committing" a button is the same as clicking on it.
108 virtual void onCommit(); 106 virtual void onCommit();
109 107
110 void setUnselectedLabelColor( const LLColor4& c ) { mUnselectedLabelColor = c; } 108 void setUnselectedLabelColor( const LLColor4& c ) { mUnselectedLabelColor = c; }