summaryrefslogtreecommitdiff
path: root/core/apps/embeddedkonsole/TEScreen.h
authorllornkcor <llornkcor>2002-10-31 20:10:52 (UTC)
committer llornkcor <llornkcor>2002-10-31 20:10:52 (UTC)
commitab5a63544deead5206ca47ff8bf94123aa032281 (patch) (side-by-side diff)
treeb28514032d605dc28a5bffbd6918066c81fff74f /core/apps/embeddedkonsole/TEScreen.h
parent16d3fac9169e400f5542ca0e3aa993cc5c5db574 (diff)
downloadopie-ab5a63544deead5206ca47ff8bf94123aa032281.zip
opie-ab5a63544deead5206ca47ff8bf94123aa032281.tar.gz
opie-ab5a63544deead5206ca47ff8bf94123aa032281.tar.bz2
no wrap and horz scroll should work, thanks to console
Diffstat (limited to 'core/apps/embeddedkonsole/TEScreen.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/TEScreen.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/TEScreen.h b/core/apps/embeddedkonsole/TEScreen.h
index ba47ee5..a28f7c5 100644
--- a/core/apps/embeddedkonsole/TEScreen.h
+++ b/core/apps/embeddedkonsole/TEScreen.h
@@ -9,11 +9,11 @@
/* This file is part of Konsole - an X terminal for KDE */
/* */
/* -------------------------------------------------------------------------- */
-/* */
+/* */
/* Ported Konsole to Qt/Embedded */
-/* */
+/* */
/* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */
-/* */
+/* */
/* -------------------------------------------------------------------------- */
#ifndef TESCREEN_H
@@ -140,6 +140,7 @@ public: // these are all `Screen' operations
/*! return the number of lines. */
int getLines() { return lines; }
+
/*! return the number of columns. */
int getColumns() { return columns; }
@@ -148,6 +149,11 @@ public: // these are all `Screen' operations
/*! return the position of the history cursor. */
int getHistCursor();
+ /*! set the position of the horizontal cursor. */
+ void setHorzCursor(int cursor);
+ /*! return the position of the horizontal cursor. */
+ int getHorzCursor();
+
int getHistLines ();
void setScroll(bool on);
bool hasScroll();
@@ -199,6 +205,8 @@ private:
int histCursor; // display position relative to start of the history buffer
HistoryScroll hist;
+
+ int horzCursor;
// cursor location