ManaPlus
Macros
statuspopup.cpp File Reference

(986a3bf)

#include "gui/popups/statuspopup.h"
#include "gamemodifiers.h"
#include "gui/widgets/label.h"
#include "input/inputmanager.h"
#include "utils/stringutils.h"
#include "gui/fonts/font.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define addLabel(num)
 

Macro Definition Documentation

◆ addLabel

#define addLabel (   num)
Value:
{ \
Label *const label = mLabels[num]; \
label->setPosition(0, y); \
label->setForegroundColorAll( \
getThemeColor(ThemeColorId::POPUP, 255U), \
getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); \
add(label); \
y += fontHeight; \
}

Definition at line 38 of file statuspopup.cpp.