+struct yx {
+ uint16_t y;
+ uint16_t x; };
+
+struct Corners {
+ struct yx tl;
+ struct yx tr;
+ struct yx bl;
+ struct yx br; };
+
+static void refit_pad (struct WinMeta *);
+static struct yx place_window (struct WinMeta *, struct Win *);
+static void update_windows (struct WinMeta *, struct Win *);
+static void destroy_window (struct Win *);
+static void draw_windows_borders (struct Win *, struct Win *, struct Corners *, uint16_t);
+static void draw_window_borders (struct Win *, char);
+static void draw_windows (struct Win *);
+static void draw_vertical_scroll_hint (struct WinMeta *, uint16_t, uint32_t, char);
+
+extern struct WinMeta init_win_meta (WINDOW * screen) {