I know this is a skill issue on my part but I cannot find any examples online.
I am trying to make a ColorPicker which was easy enough:
However I am trying to figure out how I can override the button funtionalliy for Okay and Cancel. I was reading the docs page but no functions seem to match what I am looking for. Can someone help me out? Thank you!
I am trying to make a ColorPicker which was easy enough:
Code Select
void GuiManager::OnClickColorPickerTool()
{
canDraw = false;
tgui::ColorPicker::Ptr colorPicker = tgui::ColorPicker::create();
gui.add(colorPicker);
}However I am trying to figure out how I can override the button funtionalliy for Okay and Cancel. I was reading the docs page but no functions seem to match what I am looking for. Can someone help me out? Thank you!