Initial commit
This commit is contained in:
commit
56f7cd1875
105 changed files with 22109 additions and 0 deletions
24
src/window/internal.h
Normal file
24
src/window/internal.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef PGPL_WINDOW_INTERNAL_H
|
||||
#define PGPL_WINDOW_INTERNAL_H
|
||||
|
||||
#include <pgpl.h>
|
||||
|
||||
/* This is needed if there are multiple windows open. Created by pgpl_init,
|
||||
* destroyed by pgpl_deinit. */
|
||||
extern PGPL_Mutex *render_lock;
|
||||
|
||||
typedef struct PGPL_WindowShared {
|
||||
double scale;
|
||||
PGPL_Vector *event_types;
|
||||
PGPL_Vector *event_data;
|
||||
} PGPL_WindowShared;
|
||||
|
||||
PGPL_WindowEventType
|
||||
pgpl_window_internal_fetch_window_event(PGPL_Window *window,
|
||||
PGPL_WindowEventData *event_data);
|
||||
|
||||
void pgpl_window_internal_start_render(PGPL_Window *window);
|
||||
|
||||
void pgpl_window_internal_finish_render(PGPL_Window *window);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue