Maintenance: Second pass: name remaining numeric switch case labels (identifier-only; no code change). ~3,500 more labels across 150
Batch #14936 by ragnarok-clanker: no function's compiled code changes; checked with 158 compiled unit(s), including every includer of Source/Client/Mode/GameModeEnums.h, Source/Client/Mode/ModeMessage.h, Source/Contents/Actors/ActorEnums.h, Source/Contents/Actors/PetEnums.h, Source/Contents/Combat/CombatTypes.h, Source/Contents/Configuration/ServiceEnums.h, Source/Contents/Effects/EffectPrimId.h, Source/Contents/Hotkeys/InterfaceHotkey.h, Source/Contents/Items/ItemId.h, Source/Contents/Items/ItemType.h, Source/Network/Packets/ModeResultEnums.h, Source/Network/Packets/NoticeEnums.h, Source/Network/Packets/PacketId.h, Source/UI/Window/UIEnums.h, Source/UI/Window/WindowId.h.
This commit is contained in:
parent
71559e0fc0
commit
858265cc69
159 changed files with 5409 additions and 3560 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#include "UI/Window/UIEnums.h"
|
||||
#include "Resource/Bitmap/BitmapResource.h"
|
||||
#include "Resource/ResourceMgr.h"
|
||||
#include "Resource/TextureNames.h"
|
||||
|
|
@ -53,14 +54,14 @@ void UIBitmapTab::DragAndDrop(int argument1, int argument2, std::intptr_t argume
|
|||
// FUNCTION: fn_10908
|
||||
int UIBitmapTab::SendMsg(UIWindow*, int message, std::intptr_t argument1, std::intptr_t, std::intptr_t, std::intptr_t) {
|
||||
switch (message) {
|
||||
case 13:
|
||||
case UM_SETSTATE:
|
||||
this->geometry.unknown_0030 = argument1;
|
||||
this->Invalidate();
|
||||
break;
|
||||
case 75:
|
||||
case UM_CLEAR_ITEM:
|
||||
this->tabs.clear();
|
||||
break;
|
||||
case 78:
|
||||
case UM_SET_BITMAP:
|
||||
if (argument1) {
|
||||
const char* tabName = reinterpret_cast<const char*>(argument1);
|
||||
const std::string name = FormatOwnedString(tabName, 'a');
|
||||
|
|
@ -70,7 +71,7 @@ int UIBitmapTab::SendMsg(UIWindow*, int message, std::intptr_t argument1, std::i
|
|||
}
|
||||
}
|
||||
break;
|
||||
case 14:
|
||||
case UM_RESIZE:
|
||||
if (!this->tabs.empty()) {
|
||||
int width = 0;
|
||||
int height = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue