This page has been translated automatically.
Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

gui_07

This article describes the data/samples/objects/gui_07.cpp sample.

The gui_07 sample demonstrates how to create a GUI object with a custom skin, namely:

  • Specify a path to a folder with an *.rc file and custom textures when creating a GUI object
  • Load a user interface by using the constructor of the UserInterface class

GUI object with a custom skin

In this sample, the window assigned to the GUI object is generated from the samples/objects/interfaces/gui_07.ui UI file.

You can interact with its elements with the mouse as usual: change position of the window, switch between tabs, etc.

See Also

Last update: 2017-07-03
Build: ()