1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-20 06:44:44 +00:00
QB64-PE/internal/c/libqb.h

46 lines
1.3 KiB
C
Raw Normal View History

#ifndef INC_LIBQB_H
2022-05-06 04:02:21 +00:00
#define INC_LIBQB_H
#include "common.h"
2021-09-02 12:45:10 +00:00
2024-02-12 02:48:22 +00:00
#include "cmem.h"
#include "qbs.h"
2022-05-06 04:02:21 +00:00
void sub_shell4(qbs *, int32); //_DONTWAIT & _HIDE
int32 func__source();
int32 func_pos(int32 ignore);
void sub__printimage(int32 i);
2023-09-17 06:22:54 +00:00
double func_timer(double accuracy, int32_t passed);
2022-05-06 04:02:21 +00:00
int32 func__newimage(int32 x, int32 y, int32 bpp, int32 passed);
void display();
void validatepage(int32);
void sub__dest(int32);
void sub__source(int32);
int32 func__printwidth(qbs *, int32, int32);
void sub_cls(int32, uint32, int32);
void qbs_print(qbs *, int32);
int32 func__copyimage(int32 i, int32 mode, int32 passed);
2023-09-17 06:22:54 +00:00
void sub__freeimage(int32 i, int32 passed);
2022-05-06 04:02:21 +00:00
int32 func__dest();
int32 func__display();
void qbg_sub_view_print(int32, int32, int32);
qbs *func_space(int32 spaces);
void makefit(qbs *text);
2022-05-06 04:02:21 +00:00
void qbg_sub_window(float, float, float, float, int32);
extern int32 autodisplay;
// keyhit cyclic buffer
extern int64 keyhit[8192];
// keyhit specific internal flags: (stored in high 32-bits)
// &4294967296->numpad was used
extern int32 keyhit_nextfree;
extern int32 keyhit_next;
// note: if full, the oldest message is discarded to make way for the new message
extern uint8 port60h_event[256];
extern int32 port60h_events;
extern int32 window_exists;
extern int32 no_control_characters2;
#endif