You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**My Issue/Question:**How can I have multiple windows (initialized with ::Begin) with the same name?
I'm trying to have multiple windows for my game engine called "Project Hierarchy" and "Map Hierarchy", which works fine... until I have two instances of a window like "Map Hierarchy" open, in which case they will have duplicated instances on one window instead of separate windows.
If you do use this code, just call the Render function of win_mapHierarchy, I did remove a lot of code from this uploaded code to simplify it and still have it usable, but yeah, if you make two instances of WindowMapHierarchy win_mapHierarchy{}; in the app implementation file, and call both of the Render functions one after another, all the elements get combined into one, any solution for this?
The text was updated successfully, but these errors were encountered:
Version: 1.83
Branch: docking
**My Issue/Question:**How can I have multiple windows (initialized with
::Begin
) with the same name?I'm trying to have multiple windows for my game engine called "Project Hierarchy" and "Map Hierarchy", which works fine... until I have two instances of a window like "Map Hierarchy" open, in which case they will have duplicated instances on one window instead of separate windows.
Screenshot
ui.cpp
ui.hpp
app.cpp
If you do use this code, just call the Render function of win_mapHierarchy, I did remove a lot of code from this uploaded code to simplify it and still have it usable, but yeah, if you make two instances of
WindowMapHierarchy win_mapHierarchy{};
in the app implementation file, and call both of the Render functions one after another, all the elements get combined into one, any solution for this?The text was updated successfully, but these errors were encountered: