diff --git a/client/src/gui/friendchatboard/chatitemcontainer.cpp b/client/src/gui/friendchatboard/chatitemcontainer.cpp index 4a5d0ac8..839b12a9 100644 --- a/client/src/gui/friendchatboard/chatitemcontainer.cpp +++ b/client/src/gui/friendchatboard/chatitemcontainer.cpp @@ -10,9 +10,10 @@ extern PNGTexDB *g_progUseDB; extern SDLDevice *g_sdlDevice; -ChatItemContainer::BackgroundWrapper::BackgroundWrapper(dir8_t argDir, - int argX, - int argY, +ChatItemContainer::BackgroundWrapper::BackgroundWrapper( + Widget::VarDir argDir, + Widget::VarOff argX, + Widget::VarOff argY, int argMargin, int argCorner, diff --git a/client/src/gui/friendchatboard/chatitemcontainer.hpp b/client/src/gui/friendchatboard/chatitemcontainer.hpp index 4b55b099..6ed59b9f 100644 --- a/client/src/gui/friendchatboard/chatitemcontainer.hpp +++ b/client/src/gui/friendchatboard/chatitemcontainer.hpp @@ -17,9 +17,11 @@ struct ChatItemContainer: public Widget Widget * const gfxWidget; ShapeClipBoard background; - BackgroundWrapper(dir8_t, - int, // x - int, // y + BackgroundWrapper( + Widget::VarDir, + Widget::VarOff, // x + Widget::VarOff, // y + int, // margin int, // corner