Is there a way to add a toolbar to the window?
Is there a way to add a toolbar to the window?
Is there a way to add a toolbar to the window? Or should I make it myself via graphics?
Code: Select all
loves_lua = "not so",
wants_to = true
-
- Party member
- Posts: 520
- Joined: Wed Oct 05, 2016 11:53 am
Re: Is there a way to add a toolbar to the window?
I'm not sure there's any easy way to implement (presumably) Windows-style toolbars directly from löve and lua itself, without modidying löve C++ source code to add the needed hooks and functionalities. You could maybe call some of the Windows system functions via luajit's FFI (eq. CreateWindowEx), but it may be more trouble than it's worth, since you'd have to make these toolbars somehow communicate with lua.
It's probably easier that you roll your own toolbar code, or use a lua UI library.
It's probably easier that you roll your own toolbar code, or use a lua UI library.
Re: Is there a way to add a toolbar to the window?
Ok, thanks
Code: Select all
loves_lua = "not so",
wants_to = true
Who is online
Users browsing this forum: No registered users and 3 guests