Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

rokups/Urho3D-nuklear-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuklear UI for Urho3D

This is Nuklear UI subsystem for Urho3D.

Screenshot 01

Dependencies

  • nuklear.h
  • Urho3D (obviously)

Usage

Place initialization code in your Application::Start()

    auto nuklear = new NuklearUI(context_);
    context_->RegisterSubsystem(nuklear);
    // Initialize default font of your choice or use default one.
    nuklear->GetFontAtlas()->default_font = nk_font_atlas_add_default(nuklear->GetFontAtlas(), 13.f, 0);
    // Additional font initialization here. See https://github.com/vurtun/nuklear/blob/master/demo/sdl_opengl3/main.c
    nuklear->FinalizeFonts();

About

Sample nuklear ui integration for Urho3D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages