@rrraptor , the first issue with alt (being 'stuck' after an alt-tab) is gone (using the resets on suspend), on the other hand the second issue with it is still on and very annoying, namely that only every second Event.KEY_UP is triggered when ALT is released (starting with one that does not trigger).
i'm trying to use ImGuiCond_FirstUseEver but it always resets, it seems that no ini file is generated, how can i do so?
IO:setIniFilename("|D|imgui.ini")
thanks, a file is created but it only contains info about debug window (Which i don't have actually). also, how to force to save ini info to this file at a given moment (e.g. when user quits).
i'm trying to use ImGuiCond_FirstUseEver but it always resets, it seems that no ini file is generated, how can i do so?
IO:setIniFilename("|D|imgui.ini")
thanks, a file is created but it only contains info about debug window (Which i don't have actually). also, how to force to save ini info to this file at a given moment (e.g. when user quits).
It saves automaticaly when windows is closed. You can adjust saving rate using: "IO:setIniSavingRate(number)" Default valuse is 5 seconds
i'm trying to use ImGuiCond_FirstUseEver but it always resets, it seems that no ini file is generated, how can i do so?
IO:setIniFilename("|D|imgui.ini")
thanks, a file is created but it only contains info about debug window (Which i don't have actually). also, how to force to save ini info to this file at a given moment (e.g. when user quits).
It saves automaticaly when windows is closed. You can adjust saving rate using: "IO:setIniSavingRate(number)" Default valuse is 5 seconds
thanks, is there no way to force a save? i'd rather save once when quit and not every x seconds.
also i also have an issue similar to the ALT key triggering event only every second time: i use key TAB to hide/show the gui of my app, however when i press TAB then IO:wantCaptureMouse() will become true and this is what i check to see if the gui is manipulated right now with the mouse or the mouse event can be propagated to my canvas (to draw on).
so either this is a bug or there shall be another fail-save mode to know if i can handle the mouse event for my app or the gui 'has it'.
thanks, is there no way to force a save? i'd rather save once when quit and not every x seconds.
Right now there is no way, I can add it. But you cant disable automatic saving mechanism I guess. So you need to set saving rate to a very big number )))
thanks, is there no way to force a save? i'd rather save once when quit and not every x seconds.
Right now there is no way, I can add it. But you cant disable automatic saving mechanism I guess. So you need to set saving rate to a very big number )))
new beta running gui.IO:saveIniSettings() does not seem to save for me window data into file, only for the 'debug' window, whatever it is.
also, do you have any idea about the ALT issue, only every second time being registered? it must be related somehow to imgui, e.g. if i press ALT for a long time it highlights the last used imgui button, even thoug no keyDown is registered, so something is happening under the hood.
also, do you have any idea about the ALT issue, only every second time being registered? it must be related somehow to imgui, e.g. if i press ALT for a long time it highlights the last used imgui button, even thoug no keyDown is registered, so something is happening under the hood.
Actually, I know. ALT is used by navigation stuff.
also, do you have any idea about the ALT issue, only every second time being registered? it must be related somehow to imgui, e.g. if i press ALT for a long time it highlights the last used imgui button, even thoug no keyDown is registered, so something is happening under the hood.
Actually, I know. ALT is used by navigation stuff.
is there an intelligent way to 'reset' the window positions? now i use ImGui.Cond_FirstUseEver for every window but i want to have a way to reset their positions to this one, i.e. imgui should treat them next time a window is rendered as if its position and size is set first time ever.
is there an intelligent way to 'reset' the window positions? now i use ImGui.Cond_FirstUseEver for every window but i want to have a way to reset their positions to this one, i.e. imgui should treat them next time a window is rendered as if its position and size is set first time ever.
is there an intelligent way to 'reset' the window positions? now i use ImGui.Cond_FirstUseEver for every window but i want to have a way to reset their positions to this one, i.e. imgui should treat them next time a window is rendered as if its position and size is set first time ever.
You can save ini file with different name.
IO:saveIniSettings("|D|initialState.ini")
and load whenever you want
IO:loadIniSettings("|D|initialState.ini")
thanks, but the reset-to positions/sizes are dependent on the screen size, so they are not constants but functions. so this solution does not help me i guess.
also at the beginning the windows might not be in a 'reseted' position so even IO:saveIniSettings("|D|initialState.ini") would not save the right positions.
Comments
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Default valuse is 5 seconds
When new gideros player is created and application runs for the first time everything is fine, but for the second time it crushes.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
i use key TAB to hide/show the gui of my app, however when i press TAB then IO:wantCaptureMouse() will become true and this is what i check to see if the gui is manipulated right now with the mouse or the mouse event can be propagated to my canvas (to draw on).
so either this is a bug or there shall be another fail-save mode to know if i can handle the mouse event for my app or the gui 'has it'.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
also, do you have any idea about the ALT issue, only every second time being registered? it must be related somehow to imgui, e.g. if i press ALT for a long time it highlights the last used imgui button, even thoug no keyDown is registered, so something is happening under the hood.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Maybe its something to do with window flags? Like "ImGui.WindowFlags_NoSavedSettings"
Fragmenter - animated loop machine and IKONOMIKON - the memory game
thanks for being able to correct my stupid mistakes by guessing.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
So...its the windows OS who causes this issue?))
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game