r5sdk/r5dev/thirdparty/cppnet/cppkore/DrawListViewSubItemEventArgs.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
482 B
C++

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