src/misc_gui.cpp
changeset 9170 f7dbcf575828
parent 9166 dce886fc5eeb
child 9176 16ab8142a402
equal deleted inserted replaced
9169:2dc9af0f4704 9170:f7dbcf575828
    78 	};
    78 	};
    79 
    79 
    80 public:
    80 public:
    81 	char landinfo_data[LAND_INFO_LINES][LAND_INFO_LINE_BUFF_SIZE];
    81 	char landinfo_data[LAND_INFO_LINES][LAND_INFO_LINE_BUFF_SIZE];
    82 
    82 
    83 	virtual void HandlePaintEvent()
    83 	virtual void OnPaint()
    84 	{
    84 	{
    85 		DrawWindowWidgets(this);
    85 		DrawWindowWidgets(this);
    86 
    86 
    87 		DoDrawStringCentered(140, 16, this->landinfo_data[0], TC_LIGHT_BLUE);
    87 		DoDrawStringCentered(140, 16, this->landinfo_data[0], TC_LIGHT_BLUE);
    88 		DoDrawStringCentered(140, 27, this->landinfo_data[1], TC_FROMSTRING);
    88 		DoDrawStringCentered(140, 27, this->landinfo_data[1], TC_FROMSTRING);