urs-of-the-backwoods / HGamer3D

A tool to use Haskell for game programming.
Other
42 stars 4 forks source link

Open editText already focussed #23

Open tril0byte opened 5 years ago

tril0byte commented 5 years ago

FYI, I am trying to find a way to create an editText and then immediately focus it for key input. Currently reading source code for Urho3D to see if this is even possible in the library.

tril0byte commented 5 years ago

I think I need to call void UI::SetFocusElement(UIElement* element, bool byKey) (from Urho3D-1.6/Source/Urho3D/UI/UI.cpp)

going to work on building Intonaco + Urho3D + GameGio using Guix to allow me to understand the build process while creating my own altered version of the HGamer3D stack. It will have the side effect of producing reproducible builds from source on Linux.