PatchworkOS
Loading...
Searching...
No Matches
internal.h File Reference
#include <libpatchwork/patchwork.h>
#include <sys/io.h>
#include <sys/list.h>
#include <threads.h>
#include "grf.h"

Go to the source code of this file.

Data Structures

struct  image_t
 
struct  font_t
 
struct  element_t
 Opaque element structure. More...
 
struct  window_t
 Opaque window structure. More...
 
struct  display_t
 Opaque display structure. More...
 

Macros

#define DISPLAY_MAX_EVENT   64
 

Functions

element_telement_new_root (window_t *win, element_id_t id, const rect_t *rect, const char *text, element_flags_t flags, procedure_t procedure, void *private)
 

Macro Definition Documentation

◆ DISPLAY_MAX_EVENT

#define DISPLAY_MAX_EVENT   64

Definition at line 58 of file internal.h.

Function Documentation

◆ element_new_root()

element_t * element_new_root ( window_t win,
element_id_t  id,
const rect_t rect,
const char *  text,
element_flags_t  flags,
procedure_t  procedure,
void *  private 
)

Definition at line 76 of file element.c.

References EINVAL, element_free(), element_new_raw(), element_send_init(), ENOMEM, ERR, errno, NULL, procedure(), and element_t::win.

Referenced by window_new().