Removed unused input method variables. Input method handling will

be implemented someday, but probably differently anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34365 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2009-11-30 10:48:36 +00:00
parent 258b34c594
commit bc78ca9385
2 changed files with 1 additions and 22 deletions
-4
View File
@@ -297,7 +297,6 @@ TermView::_InitObject(int32 argc, const char** argv)
fSelStart = TermPos(-1, -1);
fSelEnd = TermPos(-1, -1);
fMouseTracking = false;
fIMflag = false;
fCheckMouseTracking = false;
fPrevPos = TermPos(-1, - 1);
fReportX10MouseEvent = false;
@@ -1216,9 +1215,6 @@ TermView::MakeFocus(bool focusState)
void
TermView::KeyDown(const char *bytes, int32 numBytes)
{
if (fIMflag)
return;
int32 key, mod, rawChar;
BMessage *currentMessage = Looper()->CurrentMessage();
if (currentMessage == NULL)
+1 -18
View File
@@ -26,9 +26,9 @@ class BScrollView;
class BString;
class BStringView;
class BasicTerminalBuffer;
class ResizeWindow;
class TermBuffer;
class TerminalBuffer;
class ResizeWindow;
class Shell;
class TermView : public BView {
@@ -157,14 +157,6 @@ private:
void _WritePTY(const char* text, int32 numBytes);
// Comunicate Input Method
// void _DoIMStart (BMessage* message);
// void _DoIMStop (BMessage* message);
// void _DoIMChange (BMessage* message);
// void _DoIMLocation (BMessage* message);
// void _DoIMConfirm (void);
// void _ConfirmString(const char *, int32);
// selection
float _MouseDistanceSinceLastClick(BPoint where);
void _Select(TermPos start, TermPos end, bool inclusive,
@@ -273,15 +265,6 @@ private:
bool fReportButtonMouseEvent;
bool fReportAnyMouseEvent;
BClipboard* fMouseClipboard;
// Input Method parameter.
int fIMViewPtr;
TermPos fIMStartPos;
TermPos fIMEndPos;
BString fIMString;
bool fIMflag;
BMessenger fIMMessenger;
int32 fImCodeState;
};