se

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

se.h (590B)


      1 /* See LICENSE for license details. */
      2 #ifndef _SE_H
      3 #define _SE_H
      4 
      5 #include "utf8.h"
      6 #include "buffer.h"
      7 #include "seek.h"
      8 #include "x.h"
      9 
     10 #define STATUS_BAR_MAX_LEN 4096
     11 
     12 int write_string(const char* string, int y, int minx, int maxx);
     13 
     14 // TODO: make this user addable
     15 // so lessen the size of the root window and put this at the bottom (each frame)
     16 extern char status_bar_contents[STATUS_BAR_MAX_LEN];
     17 extern uint32_t status_bar_bg;
     18 void writef_to_status_bar(const char* fmt, ...);
     19 void draw_status_bar();
     20 
     21 void window_node_draw_to_screen(struct window_split_node* wn);
     22 
     23 #endif // _SE_H