Closed nptr closed 3 years ago
Nice changes to Game Explorer. Do you advise adding these UI fixes to other editors with long containers (such as map editor) or was it just an issue with the Game Explorer?
Yes, especially tree views and list views in resizable windows benefit greatly. I can make the fix for all of them if you'd like. Can I open the map editor for M1DE as well? I haven't found it yet.
Sadly no. :(
It's only for Mafia II. You can open it by double clicking a "FrameResource_X.fr" file. In the future I hope to change this with a much more visible approach such as "Open Map Editor", then you can select which SDS to load.
I applied the changes to the rest of the tree views. Can't check if it had a visible effect since I only have M1DE for testing. The XBIN editor did not benefit at least. Your decision whether/what to merge.
There is actually another significant list here - Forms/Docking/DockSceneTree.Designer.cs
This uses a tree view for all loaded objects. After that one has been double buffered, I'll merge it.
Since I'm not really a fan of manually setting each control to double buffered, i went the inheritance way. Conveniently there is already your custom "MTreeView" which i extended. Analog to this, I added a double buffered "MListView". Please see my follow up PR . It's cleaner code and has a nicer git history. Thus I am closing this PR.
As a start, some minor UI fixes: