~kiwec/ke

ref: 842396976984e3cbd83251296dd90a46b9d53b3c ke/src/StatusBar.h -rw-r--r-- 240 bytes
84239697 — Wolf Clément Downgrade to C++17, avoid stdlib 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include <memory>
#include "Prompt.h"

class Buffer;

class StatusBar {
private:
	const int16_t fg = 232;
	const int16_t bg = 220;

public:
	std::unique_ptr<Prompt> prompt = nullptr;

	void draw(Buffer& buf);
	int height();
};