PatchworkOS
Loading...
Searching...
No Matches
surface.h File Reference
#include "rect.h"
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/io.h>

Go to the source code of this file.

Data Structures

struct  surface_info_t
 

Macros

#define SURFACE_ID_NONE   (UINT64_MAX)
 

Typedefs

typedef uint64_t surface_id_t
 

Enumerations

enum  surface_type_t {
  SURFACE_NONE = 0 ,
  SURFACE_WINDOW ,
  SURFACE_PANEL ,
  SURFACE_CURSOR ,
  SURFACE_WALL ,
  SURFACE_FULLSCREEN ,
  SURFACE_TYPE_AMOUNT
}
 Surface types. More...
 
enum  surface_flags_t {
  SURFACE_VISIBLE = 1 << 0 ,
  SURFACE_FOCUSED = 1 << 1
}
 Surface flags. More...