#include "jui.h" #include "jdraw.h" #include "jinput.h" #include namespace ui { const int button(const char *label, const int x, const int y, const int w, const int h, const int c1, const int c2, const int c3) { const int mx = input::mouseX(); const int my = input::mouseY(); const bool btnDown = input::mouseBtn(1) || input::mouseBtn(3); const bool inside = (mx>=x) && (mx=y) && (my=x) && (mx=y) && (my=x) && (mx=y) && (my