r5sdk/r5dev/thirdparty/cppnet/cppkore/DrawListViewItemEventArgs.cpp
Kawe Mazidjatari 04bee896be Fix string/wstring type conflict
cppkore uses string/wstring as StringBase while we use std::string/std::wstring as string/wstring. Changed all types in cppkore to String/WString instead.
2022-05-21 21:51:35 +02:00

11 lines
423 B
C++

#include "stdafx.h"
#include "DrawListViewItemEventArgs.h"
namespace Forms
{
DrawListViewItemEventArgs::DrawListViewItemEventArgs(HDC Dc, const String& Text, const ListViewItemStyle Style, Drawing::Rectangle Bounds, int32_t ItemIndex, ListViewItemStates State)
: Text(Text), Style(Style), Bounds(Bounds), ItemIndex(ItemIndex), DrawDefault(false), Graphics(std::make_unique<Drawing::Graphics>(Dc)), State(State)
{
}
}