35#define AS_VERSION_MAJ 2
36#define AS_VERSION_MIN 0
46#define TARGET_FPS (double)(1.0/60.0)
50 ({ __typeof__ (a) _a = (a); \
51 __typeof__ (b) _b = (b); \
56 ({ __typeof__ (a) _a = (a); \
57 __typeof__ (b) _b = (b); \
#define AS_MAX_COLUMNS
Maximum number of column descriptors in as_ctx.col_descs.
Definition editor.h:35
struct AS_GlobalCtx as_ctx
Definition main.c:66
#define AS_MAX_SCREEN_COUNT
Maximum number of screens.
Definition interface.h:35
struct AS_TextFile * text_file
The current text file.
Definition global.h:83
struct AS_Screen * screen
A pointer to the currently active screen.
Definition global.h:77
struct AS_ColDesc col_descs[AS_MAX_COLUMNS]
An array of all available column descriptors / layouts.
Definition global.h:87
struct AS_SyntaxBackendMeta syn_backends[AS_MAX_BACKENDS]
All registered syntax backends.
Definition global.h:93
struct AS_TextFile * text_file_head
The start of the linked list containing all text files.
Definition global.h:81
int col_desc_i
The index of the currently selected column descriptor.
Definition global.h:89
char editor_scr_message[1024]
Current message to be displated at the bottom of the editor screen.
Definition global.h:69
struct AS_RenderCtx render_ctx
The current render context.
Definition global.h:73
struct AS_Screen screens[AS_MAX_SCREEN_COUNT]
A list of all registered screens.
Definition global.h:75
Definition interface.h:105
Definition interface.h:117
#define AS_MAX_BACKENDS
Maximum number of syntax backends.
Definition syntax.h:36