21 lines
383 B
C++
21 lines
383 B
C++
#ifndef UI_COMPLETIONBOX_H
|
|
#define UI_COMPLETIONBOX_H
|
|
|
|
#include "io/sysio.h"
|
|
#include "pch.h"
|
|
#include "utils/utils.h"
|
|
|
|
struct CompletionBox {
|
|
struct CompletionSession *session;
|
|
bool hidden = true;
|
|
std::vector<ScreenCell> cells;
|
|
Coord size;
|
|
Coord position;
|
|
|
|
CompletionBox(CompletionSession *s) : session(s) {}
|
|
void render_update();
|
|
void render(Coord pos);
|
|
};
|
|
|
|
#endif
|