Maintenance: [forced, user-approved] Family G20: remove ShortcutWindowContext and its children (ShortcutPainting fields except agent
Batch #10240 by ragnarok-clanker: forced by an admin (6 lower score(s), 20 changed function(s)); checked with 240 compiled unit(s), including every includer of Source/Client/Session.h, Source/UI/Cooldowns/CooldownDrawing.h, Source/UI/Cooldowns/CooldownState.h, Source/UI/Shortcuts/ShortcutCooldowns.h, Source/UI/Shortcuts/ShortcutPainting.h, Source/UI/Shortcuts/UIQuickSlotWnd.h, Source/UI/Shortcuts/UIShortCutWnd.h, Source/UI/Shortcuts/ShortcutControlEvents.h, Source/UI/Shortcuts/ShortcutDetails.h, Source/UI/Shortcuts/ShortcutDrop.h, Source/UI/Shortcuts/ShortcutLayout.h, Source/UI/Shortcuts/ShortcutPress.h, Source/UI/Shortcuts/SkillDetailClose.h. Deletes: Source/UI/Shortcuts/ShortcutControlEvents.h, Source/UI/Shortcuts/ShortcutDetails.h, Source/UI/Shortcuts/ShortcutDrop.h, Source/UI/Shortcuts/ShortcutLayout.h, Source/UI/Shortcuts/ShortcutPress.h, Source/UI/Shortcuts/SkillDetailClose.h
This commit is contained in:
parent
2b755e795a
commit
6cb0bdedfe
24 changed files with 228 additions and 493 deletions
|
|
@ -12,10 +12,6 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
struct LayoutWindowContexts {
|
||||
QuickSlotPainting& quickSlots;
|
||||
};
|
||||
|
||||
// GLOBAL: gl_25184
|
||||
bool g_searchStoreInfoCreated;
|
||||
|
||||
|
|
@ -37,7 +33,6 @@ UIWindow* UIWindowMgr::CreateLayoutWindow(int id) {
|
|||
std::string yKey;
|
||||
std::string xKey;
|
||||
if (window == nullptr) {
|
||||
LayoutWindowContexts& contexts = *reinterpret_cast<LayoutWindowContexts*>(this);
|
||||
switch (id) {
|
||||
case 0x9C:
|
||||
window = new UIHotKeyWnd();
|
||||
|
|
@ -47,7 +42,7 @@ UIWindow* UIWindowMgr::CreateLayoutWindow(int id) {
|
|||
window = new UIEntryQueueWnd();
|
||||
break;
|
||||
case 0x9F:
|
||||
window = new UIQuickSlotWnd(contexts.quickSlots);
|
||||
window = new UIQuickSlotWnd();
|
||||
break;
|
||||
case 0xB5:
|
||||
window = new UISerachStoreInfoWnd();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue