aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-25 03:00:38 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-25 16:00:17 -0700
commit0c9a1a56c22de9a34d678898168a30aeda86b1a3 (patch)
tree193666081f64ea1b9f9beb68f05bf1eb9097881d /screen.h
parentc0655b6b08222a32b267cff4f7fbdf6d1472c910 (diff)
Lots of work on web config
Change to make fish immediately show color changes
Diffstat (limited to 'screen.h')
-rw-r--r--screen.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/screen.h b/screen.h
index 0fe08eec..0f930a17 100644
--- a/screen.h
+++ b/screen.h
@@ -85,10 +85,11 @@ class screen_data_t
};
/**
- The struct representing the current and desired screen contents.
+ The class representing the current and desired screen contents.
*/
-typedef struct
+class screen_t
{
+ public:
/**
The internal representation of the desired screen contents.
*/
@@ -123,8 +124,7 @@ typedef struct
other than from fish's main loop, in which case we need to redraw.
*/
struct stat prev_buff_1, prev_buff_2, post_buff_1, post_buff_2;
-}
- screen_t;
+};
/**
This is the main function for the screen putput library. It is used
@@ -155,6 +155,6 @@ void s_write( screen_t *s,
resizing, there will be one line of garbage for every repaint,
which will quicly fill the screen.
*/
-void s_reset( screen_t *s, int reset_cursor );
+void s_reset( screen_t *s, bool reset_cursor );
#endif