terminal: Window operations

Implement OSC 1 (set window title), and some basic CSI t window
operations.

Signed-off-by: Callum Lowcay <callum@callumscode.com>
This commit is contained in:
Callum Lowcay 2011-01-14 20:46:23 +13:00
parent 9d708b07e4
commit ef57a9b788
3 changed files with 87 additions and 3 deletions

View file

@ -139,6 +139,7 @@ window_draw(struct window *window);
void
window_get_child_allocation(struct window *window,
struct rectangle *allocation);
void
window_set_child_size(struct window *window, int32_t width, int32_t height);
void
@ -220,6 +221,12 @@ void
window_set_frame_handler(struct window *window,
window_frame_handler_t handler);
void
window_set_title(struct window *window, const char *title);
const char *
window_get_title(struct window *window);
void
display_set_drag_offer_handler(struct display *display,
display_drag_offer_handler_t handler);