GUI: implement scrolltext

issue #1961
applied on Checkbox
This commit is contained in:
tildearrow 2024-11-10 04:14:39 -05:00
parent 76554cb8a2
commit e7375fd733
7 changed files with 78 additions and 23 deletions

View file

@ -2792,9 +2792,6 @@ class FurnaceGUI {
// inverted checkbox
bool InvCheckbox(const char* label, bool* value);
// scrolling text
void ScrollText(ImGuiID id, const char* text, const ImVec2& size=ImVec2(0,0), bool alwaysScroll=false);
// mixer stuff
ImVec2 calcPortSetSize(String label, int ins, int outs);
bool portSet(String label, unsigned int portSetID, int ins, int outs, int activeIns, int activeOuts, int& clickedPort, std::map<unsigned int,ImVec2>& portPos);