Turnstone Operating System
Loading...
Searching...
No Matches
wnd_create_destroy.64.c File Reference

Window manager create and destroy window implementation. More...

#include <windowmanager.h>
#include <windowmanager/wnd_create_destroy.h>
#include <windowmanager/wnd_utils.h>
#include <hashmap.h>
#include <buffer.h>
#include <graphics/screen.h>
#include <graphics/text_cursor.h>
#include <time.h>
#include <strings.h>

Classes

struct  wndmgr_alert_window_data
 

Typedefs

typedef struct wndmgr_alert_window_data wndmgr_alert_window_data_t
 

Functions

 MODULE ("turnstone.windowmanager")
 
void video_text_print (const char_t *text)
 
window_twindowmanager_create_top_window (void)
 
window_twindowmanager_create_window (window_t *parent, char_t *text, rect_t rect, color_t background_color, color_t foreground_color)
 
static int8_t wndmgr_footer_time_on_redraw (const window_event_t *event)
 
static int8_t wndmgr_create_footer (window_t *parent)
 
void windowmanager_insert_and_set_current_window (window_t *window)
 
void windowmanager_destroy_window (window_t *window)
 
void windowmanager_destroy_child_window (window_t *window, window_t *child)
 
void windowmanager_destroy_all_child_windows (window_t *window)
 
void windowmanager_remove_and_set_current_window (window_t *window)
 
static int8_t wndmgr_alert_window_on_enter (const window_event_t *event)
 
void windowmanager_create_and_show_alert_window (windowmanager_alert_window_type_t type, const char_t *text)
 

Variables

uint64_t windowmanager_next_window_id = 0
 
window_twindowmanager_current_window = NULL
 
hashmap_twindowmanager_windows = NULL
 

Detailed Description

Window manager create and destroy window implementation.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.