diff options
Diffstat (limited to 'view.h')
| -rw-r--r-- | view.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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*); |
