r5sdk/r5dev/thirdparty/cppnet/cppkore/DrawListViewItemEventArgs.cpp

11 lines
423 B
C++
Raw Normal View History

2022-05-21 19:58:09 +02:00
#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)
2022-05-21 19:58:09 +02:00
: Text(Text), Style(Style), Bounds(Bounds), ItemIndex(ItemIndex), DrawDefault(false), Graphics(std::make_unique<Drawing::Graphics>(Dc)), State(State)
{
}
}