#include "widget.h"
void ui_set_enabled(
UIWIDGET widget, UiBool enable) {
W32Widget *w = (W32Widget *)widget;
if (w->wclass->enable) {
w->wclass->enable(w, enable);
}
}
void ui_set_visible(
UIWIDGET widget, UiBool visible) {
W32Widget *w = (W32Widget *)widget;
if (w->wclass->show) {
w->wclass->show(w, visible);
}
}