Search found 222 matches

by Fenrir
Tue Aug 23, 2016 8:51 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

OK guys I've made a new release (https://github.com/slages/love-imgui/releases/tag/0.7) with the last fixes and improvements, and I added some hand made bindings for overrided functions like imgui.Value, instead of using imgui.Value_2, imgui.Value_3, etc... Just use imgui.Value and it will select th...
by Fenrir
Mon Aug 22, 2016 8:49 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

Awesome! Does that also mean we can easily access "ImGuiCol_COUNT"? Or is that even necessary? In the test window it uses that variable to do the following: if (ImGui::BeginMenu("Colors")) { for (int i = 0; i < ImGuiCol_COUNT; i++) ImGui::MenuItem(ImGui::GetStyleColName((ImGuiCo...
by Fenrir
Mon Aug 22, 2016 7:30 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

How can I set the style color ?, imgui.GetStyle() doesn't work ! Yep GetStyle is not supported currently, to control the style you'll need to use PushStyleColor/PopStyleColor and PushStyleVar/PopStyleVar, for instance: imgui.PushStyleColor("WindowBg", 0, 0, 0, 0.9) .. imgui.PopStyleColor(...
by Fenrir
Fri Aug 19, 2016 12:31 pm
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

Awesome! Does that also mean we can easily access "ImGuiCol_COUNT"? Or is that even necessary? In the test window it uses that variable to do the following: if (ImGui::BeginMenu("Colors")) { for (int i = 0; i < ImGuiCol_COUNT; i++) ImGui::MenuItem(ImGui::GetStyleColName((ImGuiCo...
by Fenrir
Fri Aug 19, 2016 11:29 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

Coincidally, I am doing exactly that at the moment; Recreating the test window in lua. Reason being to learn how everything works, how it's intended to be used. If you want I can upload the code (with some comments), when Im done. But it might take a litte while before I'm done. EDIT: I'll also tak...
by Fenrir
Fri Aug 19, 2016 8:15 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

Hey, can you please make an extra big example love file with most of usable features? It's very difficult for someone to use as documentation from C++ headers, someone really don't know C++. And big amount of examples will help to understand exactly Lua syntax for creating GUI Sorry but I won't be ...
by Fenrir
Thu Aug 18, 2016 7:00 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

Thank you, I just didn't understand how enums are binded before that :) Yep all enums are binded to their simple name without their type: ImGuiWindowFlags_NoTitleBar => "NoTitleBar" ImGuiCol_PlotLines => "PlotLines" ImGuiDockSlot_Tab => "Tab" ... You can find the full ...
by Fenrir
Wed Aug 17, 2016 2:28 pm
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

Hi, i already have troubles with setting dock layout for panels. How to set panel DockStyle or something like this? Not sure what you're looking for but you can probably control the docks style with the PushStyleColor/PopStyleColor and PushStyleVar/PopStyleVar functions. I mean dock placement, like...
by Fenrir
Wed Aug 17, 2016 7:15 am
Forum: General
Topic: Twitter
Replies: 9
Views: 4531

Re: Twitter

Maybe going for a #madewithlove hashtag too? Or will it be flooded by non related stuff?
by Fenrir
Wed Aug 17, 2016 7:09 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 239803

Re: ImGui löve module

AnRu wrote:Hi, i already have troubles with setting dock layout for panels. How to set panel DockStyle or something like this?
Not sure what you're looking for but you can probably control the docks style with the PushStyleColor/PopStyleColor and PushStyleVar/PopStyleVar functions.