aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lllineeditor.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:07 -0500
committerJacek Antonelli2008-08-15 23:45:07 -0500
commit8465910c79b8e746e04fd581cca2d60399e569b9 (patch)
treef43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/llui/lllineeditor.h
parentSecond Life viewer sources 1.18.2.1 (diff)
downloadmeta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to 'linden/indra/llui/lllineeditor.h')
-rw-r--r--linden/indra/llui/lllineeditor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/llui/lllineeditor.h b/linden/indra/llui/lllineeditor.h
index 5ff2de7..04c53b4 100644
--- a/linden/indra/llui/lllineeditor.h
+++ b/linden/indra/llui/lllineeditor.h
@@ -127,7 +127,8 @@ public:
127 virtual void setRect(const LLRect& rect); 127 virtual void setRect(const LLRect& rect);
128 virtual BOOL acceptsTextInput() const; 128 virtual BOOL acceptsTextInput() const;
129 virtual void onCommit(); 129 virtual void onCommit();
130 virtual BOOL isDirty() { return ( mText.getString() != mPrevText ); }; // Returns TRUE if the user has changed value at all 130 virtual BOOL isDirty() const; // Returns TRUE if the user has changed value at all
131 virtual void resetDirty(); // Clear dirty state
131 132
132 // assumes UTF8 text 133 // assumes UTF8 text
133 virtual void setValue(const LLSD& value ); 134 virtual void setValue(const LLSD& value );
@@ -257,6 +258,8 @@ protected:
257 S32 mSelectionEnd; 258 S32 mSelectionEnd;
258 S32 mLastSelectionX; 259 S32 mLastSelectionX;
259 S32 mLastSelectionY; 260 S32 mLastSelectionY;
261 S32 mLastSelectionStart;
262 S32 mLastSelectionEnd;
260 263
261 S32 (*mPrevalidateFunc)(const LLWString &str); 264 S32 (*mPrevalidateFunc)(const LLWString &str);
262 265