"ReturnKeyPressed" Signal on textbox widget

  • 15 Replies


  • *****
  • 1411
    • View Profile
    • Texus's Blog
Re: "ReturnKeyPressed" Signal on textbox widget
« Reply #15 on: 03 March 2019, 14:01:54 »
I see very little advantages of this compared to just defining tgui::ChildWindow::Closed as a string.
String to enum conversion is very nice and can be interesting for other parts in TGUI, but if we already use a string then we don't really need it.
Inheritance of the enum is interesting as well, but I don't think it offers anything extra in this situation.