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 55 56 57 58 59 60 61 62 63 64 65 66 67
|
/*!
@file
@author Generate utility by Albert Semenov
@date 01/2009
@module
*/
#ifndef EXPORT_WIDGET_ProgressBar_H_
#define EXPORT_WIDGET_ProgressBar_H_
#include "../ExportDefine.h"
#include "../ExportMarshaling.h"
#include "MyGUI_Export_MarshalingWidget.h"
#include "../ExportMarshalingType.h"
#include <MyGUI.h>
namespace Export
{
//InsertPoint
namespace ScopeProgressBarProperty_FlowDirection
{
MYGUIEXPORT Convert<MyGUI::FlowDirection>::Type MYGUICALL ExportProgressBar_GetFlowDirection(MyGUI::Widget* _native)
{
return Convert<MyGUI::FlowDirection>::To(static_cast<MyGUI::ProgressBar*>(_native)->getFlowDirection());
}
MYGUIEXPORT void MYGUICALL ExportProgressBar_SetFlowDirection(MyGUI::Widget* _native, Convert<MyGUI::FlowDirection>::Type _value)
{
static_cast<MyGUI::ProgressBar*>(_native)->setFlowDirection(Convert<MyGUI::FlowDirection>::From(_value));
}
}
namespace ScopeProgressBarProperty_ProgressAutoTrack
{
MYGUIEXPORT Convert<bool>::Type MYGUICALL ExportProgressBar_GetProgressAutoTrack(MyGUI::Widget* _native)
{
return Convert<bool>::To(static_cast<MyGUI::ProgressBar*>(_native)->getProgressAutoTrack());
}
MYGUIEXPORT void MYGUICALL ExportProgressBar_SetProgressAutoTrack(MyGUI::Widget* _native, Convert<bool>::Type _value)
{
static_cast<MyGUI::ProgressBar*>(_native)->setProgressAutoTrack(Convert<bool>::From(_value));
}
}
namespace ScopeProgressBarProperty_ProgressPosition
{
MYGUIEXPORT Convert<size_t>::Type MYGUICALL ExportProgressBar_GetProgressPosition(MyGUI::Widget* _native)
{
return Convert<size_t>::To(static_cast<MyGUI::ProgressBar*>(_native)->getProgressPosition());
}
MYGUIEXPORT void MYGUICALL ExportProgressBar_SetProgressPosition(MyGUI::Widget* _native, Convert<size_t>::Type _value)
{
static_cast<MyGUI::ProgressBar*>(_native)->setProgressPosition(Convert<size_t>::From(_value));
}
}
namespace ScopeProgressBarProperty_ProgressRange
{
MYGUIEXPORT Convert<size_t>::Type MYGUICALL ExportProgressBar_GetProgressRange(MyGUI::Widget* _native)
{
return Convert<size_t>::To(static_cast<MyGUI::ProgressBar*>(_native)->getProgressRange());
}
MYGUIEXPORT void MYGUICALL ExportProgressBar_SetProgressRange(MyGUI::Widget* _native, Convert<size_t>::Type _value)
{
static_cast<MyGUI::ProgressBar*>(_native)->setProgressRange(Convert<size_t>::From(_value));
}
}
}
#endif
|