PatchworkOS
Loading...
Searching...
No Matches

Desktop Window Manager Surface. More...

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...
 

Detailed Description

Desktop Window Manager Surface.

A surface represents a rectangular area on the screen that can display content and receive user input, this includes panels, cursors, wallpapers and normal application windows. It can be considered to be the server side implementation of the client side windows.

Macro Definition Documentation

◆ SURFACE_ID_NONE

#define SURFACE_ID_NONE   (UINT64_MAX)

Definition at line 54 of file surface.h.

Typedef Documentation

◆ surface_id_t

Definition at line 53 of file surface.h.

Enumeration Type Documentation

◆ surface_flags_t

Surface flags.

Enumerator
SURFACE_VISIBLE 
SURFACE_FOCUSED 

Definition at line 47 of file surface.h.

◆ surface_type_t

Surface types.

Enumerator
SURFACE_NONE 
SURFACE_WINDOW 
SURFACE_PANEL 
SURFACE_CURSOR 
SURFACE_WALL 
SURFACE_FULLSCREEN 
SURFACE_TYPE_AMOUNT 

Definition at line 32 of file surface.h.