-
Notifications
You must be signed in to change notification settings - Fork 44
/
AlphaShapeClass.h
54 lines (40 loc) · 1.32 KB
/
AlphaShapeClass.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
RadSites
*/
#pragma once
#include <FileSystem.h>
#include <AbstractClass.h>
class ObjectClass;
class NOVTABLE AlphaShapeClass : public AbstractClass
{
public:
static const AbstractType AbsID = AbstractType::AlphaShape;
//Static
static constexpr constant_ptr<DynamicVectorClass<AlphaShapeClass*>, 0x88A0F0u> const Array{};
//IPersist
virtual HRESULT __stdcall GetClassID(CLSID* pClassID) R0;
//IPersistStream
virtual HRESULT __stdcall Load(IStream* pStm) R0;
virtual HRESULT __stdcall Save(IStream* pStm,BOOL fClearDirty) R0;
//Destructor
virtual ~AlphaShapeClass() RX;
//AbstractClass
virtual AbstractType WhatAmI() const RT(AbstractType);
virtual int Size() const R0;
//Constructor
AlphaShapeClass(ObjectClass* pObj, int nX, int nY) noexcept
: AlphaShapeClass(noinit_t())
{ JMP_THIS(0x420960); }
protected:
explicit __forceinline AlphaShapeClass(noinit_t) noexcept
: AbstractClass(noinit_t())
{ }
//===========================================================================
//===== Properties ==========================================================
//===========================================================================
public:
ObjectClass* AttachedTo; //To which object is this AlphaShape attached?
RectangleStruct Rect;
SHPStruct* AlphaImage;
bool IsObjectGone; //Set if AttachedTo is NULL.
};