Jump to content

Search the Community

Showing results for tags 'spinbox'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. Hi, Looks like spinbox is not included in Unigine::Widgets, in fact if you add one of them in a ui, the widget is shown but you get the error Unigine::Widgets::UserInterface::UserInterface(): unknown widget type WidgetSpinBox. To reproduce it use the attached file in interface ui_00 sample (it just adds an editline with spinbox) Suggested solution Despite of spinbox doesn't have reflection in Unigine::Widgets, the system can ignore spinbox in the following way: data\core\systems\widgets\widget.h (ln. 139) // ... EDITTEXT = WIDGET_EDITTEXT, SPINBOX = WIDGET_SPINBOX, }; // ... data\core\systems\widgets\widget_interface.h (ln. 101) // ... case EDITLINE: widget = new EditLine(widget); break; case EDITTEXT: widget = new EditText(widget); break; case SPINBOX: widget = NULL; break; default: log.error("Unigine::Widgets::UserInterface::UserInterface(): unknown widget type %s\n",widget.getTypeName()); widget = NULL; } // ... Regards, Iván. ui_00.ui
×
×
  • Create New...