Diffstat (limited to 'core/apps/embeddedkonsole/TEWidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.h b/core/apps/embeddedkonsole/TEWidget.h index 40e1aea..a480d45 100644 --- a/core/apps/embeddedkonsole/TEWidget.h +++ b/core/apps/embeddedkonsole/TEWidget.h @@ -59,9 +59,13 @@ public: void setScroll(int cursor, int lines); void doScroll(int lines); + void doHScroll(int lines); + + void emitSelection(); + void setWrapAt(int columns); public: void setImage(const ca* const newimg, int lines, int columns); @@ -75,8 +79,9 @@ public: QSize sizeHint() const; public: + bool useHorzScroll; void Bell(); void emitText(QString text); void pasteClipboard(); @@ -86,8 +91,9 @@ signals: void keyPressedSignal(QKeyEvent *e); void mouseSignal(int cb, int cx, int cy); void changedImageSizeSignal(int lines, int columns); void changedHistoryCursor(int value); + void changedHorzCursor(int value); void configureRequest( TEWidget*, int state, int x, int y ); void clearSelectionSignal(); void beginSelectionSignal( const int x, const int y ); @@ -95,9 +101,8 @@ signals: void endSelectionSignal(const BOOL preserve_line_breaks); protected: - virtual void styleChange( QStyle& ); bool eventFilter( QObject *, QEvent * ); @@ -146,8 +151,9 @@ public slots: protected slots: void scrollChanged(int value); + void hScrollChanged(int value); void blinkEvent(); private: @@ -179,11 +185,14 @@ private: BOOL word_selection_mode; BOOL preserve_line_breaks; QClipboard* cb; - QScrollBar* scrollbar; - int scrollLoc; + QScrollBar* scrollbar, *hScrollbar; + + int scrollLoc, hScrollLoc; + int hposition, vcolumns; + //#define SCRNONE 0 //#define SCRLEFT 1 //#define SCRRIGHT 2 |