update
This commit is contained in:
parent
b6c2b7f164
commit
d7f1c66779
17 changed files with 118 additions and 65 deletions
23
include/MwCXX/Widget/Direct3D9.h
Normal file
23
include/MwCXX/Widget/Direct3D9.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef __MWCXX_WIDGET_DIRECT3D9_H__
|
||||
#define __MWCXX_WIDGET_DIRECT3D9_H__
|
||||
|
||||
#include <MwCXX/MachDep.h>
|
||||
#include <MwCXX/Widget/Base.h>
|
||||
|
||||
#include <Mw/Widget/Direct3D9.h>
|
||||
|
||||
namespace MwCXX {
|
||||
class Direct3D9 : public MwCXX::Base {
|
||||
protected:
|
||||
virtual void RegisterHandlers();
|
||||
|
||||
public:
|
||||
Direct3D9(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
Direct3D9(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
void* GetDirect3D9();
|
||||
void* GetDirect3DDevice9();
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
||||
#endif
|
||||
|
|
@ -18,10 +18,10 @@ namespace MwCXX {
|
|||
MwCXX::String GetText();
|
||||
void SetText(MwCXX::String value);
|
||||
|
||||
virtual void OnLayout(int value) {};
|
||||
virtual void OnLayout(MwRect value) {};
|
||||
virtual void OnDocumentActivate(MwCXX::String value) {};
|
||||
|
||||
void (*LayoutHandler)(MwCXX::Document* widget, int value);
|
||||
void (*LayoutHandler)(MwCXX::Document* widget, MwRect value);
|
||||
void (*DocumentActivateHandler)(MwCXX::Document* widget, MwCXX::String value);
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace MwCXX {
|
|||
Vulkan(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
Vulkan(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
void* GetField(int field, int* output);
|
||||
void* GetField();
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue