aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lllineeditor.h
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-18 17:58:27 -0700
committerMcCabe Maxsted2009-10-18 17:58:27 -0700
commite4b0e7c82d670081c071d8a3da31b5ec407b8e07 (patch)
tree9410962bbb582eedbec448139e217f2714050777 /linden/indra/llui/lllineeditor.h
parentStarted 1.3.0 branch (diff)
parentUpdated and added some Linux libs. (diff)
downloadmeta-impy-e4b0e7c82d670081c071d8a3da31b5ec407b8e07.zip
meta-impy-e4b0e7c82d670081c071d8a3da31b5ec407b8e07.tar.gz
meta-impy-e4b0e7c82d670081c071d8a3da31b5ec407b8e07.tar.bz2
meta-impy-e4b0e7c82d670081c071d8a3da31b5ec407b8e07.tar.xz
Merged working branch of 1.2 into LL 1.23 merge
Diffstat (limited to 'linden/indra/llui/lllineeditor.h')
-rw-r--r--linden/indra/llui/lllineeditor.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/linden/indra/llui/lllineeditor.h b/linden/indra/llui/lllineeditor.h
index cc12aa1..a670b21 100644
--- a/linden/indra/llui/lllineeditor.h
+++ b/linden/indra/llui/lllineeditor.h
@@ -90,6 +90,7 @@ public:
90 /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); 90 /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask);
91 /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); 91 /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask);
92 /*virtual*/ BOOL handleDoubleClick(S32 x,S32 y,MASK mask); 92 /*virtual*/ BOOL handleDoubleClick(S32 x,S32 y,MASK mask);
93 /*virtual*/ BOOL handleMiddleMouseDown(S32 x,S32 y,MASK mask);
93 /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask ); 94 /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask );
94 /*virtual*/ BOOL handleUnicodeCharHere(llwchar uni_char); 95 /*virtual*/ BOOL handleUnicodeCharHere(llwchar uni_char);
95 /*virtual*/ void onMouseCaptureLost(); 96 /*virtual*/ void onMouseCaptureLost();
@@ -97,13 +98,16 @@ public:
97 // LLEditMenuHandler overrides 98 // LLEditMenuHandler overrides
98 virtual void cut(); 99 virtual void cut();
99 virtual BOOL canCut() const; 100 virtual BOOL canCut() const;
100
101 virtual void copy(); 101 virtual void copy();
102 virtual BOOL canCopy() const; 102 virtual BOOL canCopy() const;
103
104 virtual void paste(); 103 virtual void paste();
105 virtual BOOL canPaste() const; 104 virtual BOOL canPaste() const;
106 105
106 virtual void updatePrimary();
107 virtual void copyPrimary();
108 virtual void pastePrimary();
109 virtual BOOL canPastePrimary() const;
110
107 virtual void doDelete(); 111 virtual void doDelete();
108 virtual BOOL canDoDelete() const; 112 virtual BOOL canDoDelete() const;
109 113
@@ -220,6 +224,9 @@ public:
220 224
221private: 225private:
222 // private helper methods 226 // private helper methods
227
228 void pasteHelper(bool is_primary);
229
223 void removeChar(); 230 void removeChar();
224 void addChar(const llwchar c); 231 void addChar(const llwchar c);
225 void setCursorAtLocalPos(S32 local_mouse_x); 232 void setCursorAtLocalPos(S32 local_mouse_x);