modding simple imgui text editor
This commit is contained in:
@@ -1,15 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <solanaceae/crdtnotes/crdtnotes.hpp>
|
||||
#include <solanaceae/contact/contact_model3.hpp>
|
||||
|
||||
#include <set>
|
||||
|
||||
class CRDTNotesImGui {
|
||||
CRDTNotes& _notes;
|
||||
Contact3Registry& _cr;
|
||||
|
||||
bool _show_global_list {true};
|
||||
|
||||
std::set<CRDTNotes::DocID> _open_docs;
|
||||
|
||||
public:
|
||||
CRDTNotesImGui(CRDTNotes& notes);
|
||||
CRDTNotesImGui(CRDTNotes& notes, Contact3Registry& cr);
|
||||
|
||||
float render(void);
|
||||
|
||||
bool renderContactListContactSmall(const Contact3 c, const bool selected) const;
|
||||
|
||||
bool renderDoc(const CRDTNotes::DocID& doc_id);
|
||||
bool renderDocText(std::string& text) const;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user