-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraw.h
30 lines (22 loc) · 893 Bytes
/
draw.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef DRAW_H
#define DRAW_H
#include <lume.h>
#include "buffer.h"
#include "wm.h"
void drawMinimapCursor(WindowManager *wm, Window *mainWindow, Buffer *buffer);
void drawMinimap(WindowManager *wm, Window *mainWindow, Buffer *buffer);
void drawHollowPoint(Buffer *buffer, Window *win, size_t position, Color color);
void drawHollowCursor(Buffer *buffer, Window *win, Color defaultColor);
void drawMark(Buffer *buffer, Window *win, Color markColor);
void drawMiniCursor(Buffer *buffer, Font *font, float x, float y, Color color);
void drawCursor(Buffer *buffer, Window *win, Color defaultColor);
extern size_t fringe; // Width in pexels
// SCOPES
Color getScopeColor(int level);
void fill_scopes(Buffer *buffer, Scopes *scopes);
void draw_scopes(WindowManager *wm, Font *font);
// CURSOR
extern double lastBlinkTime;
extern bool cursorVisible;
extern int blinkCount;
#endif // DRAW_H