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

Window Manager implementation. More...

#include <windowmanager.h>
#include <video.h>
#include <logging.h>
#include <memory.h>

Classes

struct  window_t
 

Macros

#define GET_ALPHA(color)   ((color >> 24) & 0xFF)
 
#define GET_RED(color)   ((color >> 16) & 0xFF)
 
#define GET_GREEN(color)   ((color >> 8) & 0xFF)
 
#define GET_BLUE(color)   ((color >> 0) & 0xFF)
 

Typedefs

typedef struct window_t window_t
 

Functions

 MODULE ("turnstone.user.programs.windowmanager")
 
window_twindowmanager_create_window (const char_t *title, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
 
int8_t gfx_draw_rectangle (pixel_t *buffer, uint32_t area_width, uint32_t x, uint32_t y, uint32_t width, uint32_t height, pixel_t color)
 
uint32_t gfx_blend_colors (uint32_t color1, uint32_t color2)
 
void video_text_print (const char_t *text)
 
int8_t windowmanager_init (void)
 

Variables

uint64_t windowmanager_next_window_id = 0
 
int32_t VIDEO_GRAPHICS_WIDTH
 
int32_t VIDEO_GRAPHICS_HEIGHT
 
uint32_tVIDEO_BASE_ADDRESS
 

Detailed Description

Window Manager implementation.

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