ManaPlus
Functions
themecolorsidoperators.h File Reference

(986a3bf)

#include "enums/gui/themecolorid.h"

Go to the source code of this file.

Functions

ThemeColorIdT operator+ (const ThemeColorIdT &id, const int &i)
 

Function Documentation

◆ operator+()

ThemeColorIdT operator+ ( const ThemeColorIdT id,
const int &  i 
)

Definition at line 28 of file themecolorsidoperators.cpp.

29 {
30  return static_cast<ThemeColorIdT>(CAST_S32(id) + i);
31 }
#define CAST_S32
Definition: cast.h:30
ThemeColorId ::T ThemeColorIdT
Definition: themecolorid.h:35

References CAST_S32.