aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'view.h')
-rw-r--r--view.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/view.h b/view.h
index 4447dd7..25b186f 100644
--- a/view.h
+++ b/view.h
@@ -13,11 +13,6 @@ typedef struct Cursor Cursor;
typedef struct Selection Selection;
typedef struct {
- void *data;
- void (*selection)(void *data, Filerange*);
-} ViewEvent;
-
-typedef struct {
int width; /* display width i.e. number of columns ocupied by this character */
size_t len; /* number of bytes the character displayed in this cell uses, for
character which use more than 1 column to display, their lenght
@@ -45,7 +40,7 @@ typedef struct {
size_t col;
} CursorPos;
-View *view_new(Text*, lua_State*, ViewEvent*);
+View *view_new(Text*, lua_State*);
void view_ui(View*, UiWin*);
/* change associated text displayed in this window */
void view_reload(View*, Text*);