3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
Loading...
Searching...
No Matches
TextureControl Class Reference

#include <TextureControl.hpp>

Inheritance diagram for TextureControl:
Collaboration diagram for TextureControl:

Public Member Functions

 TextureControl (HWND owner, HINSTANCE hInstance, Engine3DRadSpace::Content::ContentManager *content, unsigned texture, const std::string &name, int x, int y)
 TextureControl (TextureControl &)=delete
TextureControl & operator= (TextureControl &)=delete
 TextureControl (TextureControl &&c) noexcept
TextureControl & operator= (TextureControl &&c) noexcept
HWND GetPixturebox () const noexcept
virtual void HandleClick (HWND clickedWindow) override
 ~TextureControl () override
Public Member Functions inherited from AssetControl
 AssetControl (HWND owner, HINSTANCE hInstance, int x, int y, Engine3DRadSpace::Content::ContentManager *content, unsigned asset)
 AssetControl (AssetControl &)=default
AssetControl & operator= (AssetControl &)=default
HWND GetTextbox ()
HWND GetBrowseButton ()
int AccX ()
int AccY ()
Public Member Functions inherited from IControl
 IControl (HWND hwnd, HINSTANCE hInstance)
virtual ~IControl ()=default

Protected Attributes

HWND _pictureBox
HBITMAP _image
Protected Attributes inherited from AssetControl
HWND _label
HWND _textBox
HWND _button
int _cy
int _cx
Engine3DRadSpace::Content::ContentManager * _content
Protected Attributes inherited from IControl
HWND window
HWND owner
HINSTANCE instance

Additional Inherited Members

Public Attributes inherited from AssetControl
unsigned AssetReference

Constructor & Destructor Documentation

◆ TextureControl() [1/3]

TextureControl::TextureControl ( HWND owner,
HINSTANCE hInstance,
Engine3DRadSpace::Content::ContentManager * content,
unsigned texture,
const std::string & name,
int x,
int y )

◆ TextureControl() [2/3]

TextureControl::TextureControl ( TextureControl & )
delete

◆ TextureControl() [3/3]

TextureControl::TextureControl ( TextureControl && c)
noexcept

◆ ~TextureControl()

TextureControl::~TextureControl ( )
override

Member Function Documentation

◆ GetPixturebox()

HWND TextureControl::GetPixturebox ( ) const
noexcept

◆ HandleClick()

void TextureControl::HandleClick ( HWND clickedWindow)
overridevirtual

Implements IControl.

Reimplemented in SkyboxControl.

◆ operator=() [1/2]

TextureControl & TextureControl::operator= ( TextureControl && c)
noexcept

◆ operator=() [2/2]

TextureControl & TextureControl::operator= ( TextureControl & )
delete

Member Data Documentation

◆ _image

HBITMAP TextureControl::_image
protected

◆ _pictureBox

HWND TextureControl::_pictureBox
protected

The documentation for this class was generated from the following files: