Files
htab/ui/formula_bar.hpp
T

24 lines
472 B
C++
Raw Normal View History

#pragma once
#include "ui/text_edit.hpp"
#include <gemui.h>
#include <cairo/cairo.h>
#include <string>
namespace htab::ui {
class FormulaBar {
public:
void draw(gemui_app_t* app,
cairo_t* cr,
gemui_rect_t rect,
const std::string& cell_addr,
const TextEditor& editor,
bool bar_focused,
const UiScale& ui,
int hit_id_addr,
int hit_id_input);
};
} // namespace htab::ui