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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
|
/*!
@file
@author Generate utility by Albert Semenov
@date 01/2009
@module
*/
#ifndef EXPORT_WIDGET_ImageBox_H_
#define EXPORT_WIDGET_ImageBox_H_
#include "../ExportDefine.h"
#include "../ExportMarshaling.h"
#include "MyGUI_Export_MarshalingWidget.h"
#include "../ExportMarshalingType.h"
#include <MyGUI.h>
namespace Export
{
//InsertPoint
namespace ScopeImageBoxMethod_SetItemName
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetItemName__value(MyGUI::Widget* _native,
Convert<const std::string &>::Type _value)
{
static_cast<MyGUI::ImageBox*>(_native)->setItemName(
Convert<const std::string &>::From(_value));
}
}
namespace ScopeImageBoxMethod_SetItemGroup
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetItemGroup__value(MyGUI::Widget* _native,
Convert<const std::string &>::Type _value)
{
static_cast<MyGUI::ImageBox*>(_native)->setItemGroup(
Convert<const std::string &>::From(_value));
}
}
namespace ScopeImageBoxMethod_SetItemResource
{
MYGUIEXPORT Convert<bool>::Type MYGUICALL ExportImageBox_SetItemResource__name(MyGUI::Widget* _native,
Convert<const std::string &>::Type _name)
{
return Convert<bool>::To(static_cast<MyGUI::ImageBox*>(_native)->setItemResource(
Convert<const std::string &>::From(_name)));
}
}
namespace ScopeImageBoxMethod_GetItemFrameRate
{
MYGUIEXPORT Convert<float>::Type MYGUICALL ExportImageBox_GetItemFrameRate__index(MyGUI::Widget* _native,
Convert<size_t>::Type _index)
{
return Convert<float>::To(static_cast<MyGUI::ImageBox*>(_native)->getItemFrameRate(
Convert<size_t>::From(_index)));
}
}
namespace ScopeImageBoxMethod_SetItemFrameRate
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetItemFrameRate__index__rate(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<float>::Type _rate)
{
static_cast<MyGUI::ImageBox*>(_native)->setItemFrameRate(
Convert<size_t>::From(_index),
Convert<float>::From(_rate));
}
}
namespace ScopeImageBoxMethod_DeleteAllItemFrames
{
MYGUIEXPORT void MYGUICALL ExportImageBox_DeleteAllItemFrames__index(MyGUI::Widget* _native,
Convert<size_t>::Type _index)
{
static_cast<MyGUI::ImageBox*>(_native)->deleteAllItemFrames(
Convert<size_t>::From(_index));
}
}
namespace ScopeImageBoxMethod_DeleteItemFrame
{
MYGUIEXPORT void MYGUICALL ExportImageBox_DeleteItemFrame__index__indexFrame(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<size_t>::Type _indexFrame)
{
static_cast<MyGUI::ImageBox*>(_native)->deleteItemFrame(
Convert<size_t>::From(_index),
Convert<size_t>::From(_indexFrame));
}
}
namespace ScopeImageBoxMethod_SetItemFrame
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetItemFrame__index__indexFrame__item(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<size_t>::Type _indexFrame,
Convert<const MyGUI::types::TCoord < int > &>::Type _item)
{
static_cast<MyGUI::ImageBox*>(_native)->setItemFrame(
Convert<size_t>::From(_index),
Convert<size_t>::From(_indexFrame),
Convert<const MyGUI::types::TCoord < int > &>::From(_item));
}
}
namespace ScopeImageBoxMethod_InsertItemFrameDublicate
{
MYGUIEXPORT void MYGUICALL ExportImageBox_InsertItemFrameDublicate__index__indexFrame__indexSourceFrame(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<size_t>::Type _indexFrame,
Convert<size_t>::Type _indexSourceFrame)
{
static_cast<MyGUI::ImageBox*>(_native)->insertItemFrameDublicate(
Convert<size_t>::From(_index),
Convert<size_t>::From(_indexFrame),
Convert<size_t>::From(_indexSourceFrame));
}
}
namespace ScopeImageBoxMethod_AddItemFrameDublicate
{
MYGUIEXPORT void MYGUICALL ExportImageBox_AddItemFrameDublicate__index__indexSourceFrame(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<size_t>::Type _indexSourceFrame)
{
static_cast<MyGUI::ImageBox*>(_native)->addItemFrameDublicate(
Convert<size_t>::From(_index),
Convert<size_t>::From(_indexSourceFrame));
}
}
namespace ScopeImageBoxMethod_InsertItemFrame
{
MYGUIEXPORT void MYGUICALL ExportImageBox_InsertItemFrame__index__indexFrame__item(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<size_t>::Type _indexFrame,
Convert<const MyGUI::types::TCoord < int > &>::Type _item)
{
static_cast<MyGUI::ImageBox*>(_native)->insertItemFrame(
Convert<size_t>::From(_index),
Convert<size_t>::From(_indexFrame),
Convert<const MyGUI::types::TCoord < int > &>::From(_item));
}
}
namespace ScopeImageBoxMethod_AddItemFrame
{
MYGUIEXPORT void MYGUICALL ExportImageBox_AddItemFrame__index__item(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<const MyGUI::types::TCoord < int > &>::Type _item)
{
static_cast<MyGUI::ImageBox*>(_native)->addItemFrame(
Convert<size_t>::From(_index),
Convert<const MyGUI::types::TCoord < int > &>::From(_item));
}
}
namespace ScopeImageBoxMethod_DeleteAllItems
{
MYGUIEXPORT void MYGUICALL ExportImageBox_DeleteAllItems(MyGUI::Widget* _native)
{
static_cast<MyGUI::ImageBox*>(_native)->deleteAllItems();
}
}
namespace ScopeImageBoxMethod_DeleteItem
{
MYGUIEXPORT void MYGUICALL ExportImageBox_DeleteItem__index(MyGUI::Widget* _native,
Convert<size_t>::Type _index)
{
static_cast<MyGUI::ImageBox*>(_native)->deleteItem(
Convert<size_t>::From(_index));
}
}
namespace ScopeImageBoxMethod_SetItem
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetItem__index__item(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<const MyGUI::types::TCoord < int > &>::Type _item)
{
static_cast<MyGUI::ImageBox*>(_native)->setItem(
Convert<size_t>::From(_index),
Convert<const MyGUI::types::TCoord < int > &>::From(_item));
}
}
namespace ScopeImageBoxMethod_AddItem
{
MYGUIEXPORT void MYGUICALL ExportImageBox_AddItem__item(MyGUI::Widget* _native,
Convert<const MyGUI::types::TCoord < int > &>::Type _item)
{
static_cast<MyGUI::ImageBox*>(_native)->addItem(
Convert<const MyGUI::types::TCoord < int > &>::From(_item));
}
}
namespace ScopeImageBoxMethod_InsertItem
{
MYGUIEXPORT void MYGUICALL ExportImageBox_InsertItem__index__item(MyGUI::Widget* _native,
Convert<size_t>::Type _index,
Convert<const MyGUI::types::TCoord < int > &>::Type _item)
{
static_cast<MyGUI::ImageBox*>(_native)->insertItem(
Convert<size_t>::From(_index),
Convert<const MyGUI::types::TCoord < int > &>::From(_item));
}
}
namespace ScopeImageBoxMethod_ResetItemSelect
{
MYGUIEXPORT void MYGUICALL ExportImageBox_ResetItemSelect(MyGUI::Widget* _native)
{
static_cast<MyGUI::ImageBox*>(_native)->resetItemSelect();
}
}
namespace ScopeImageBoxMethod_SetImageTile
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetImageTile__value(MyGUI::Widget* _native,
Convert<const MyGUI::types::TSize < int > &>::Type _value)
{
static_cast<MyGUI::ImageBox*>(_native)->setImageTile(
Convert<const MyGUI::types::TSize < int > &>::From(_value));
}
}
namespace ScopeImageBoxMethod_SetImageCoord
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetImageCoord__value(MyGUI::Widget* _native,
Convert<const MyGUI::types::TCoord < int > &>::Type _value)
{
static_cast<MyGUI::ImageBox*>(_native)->setImageCoord(
Convert<const MyGUI::types::TCoord < int > &>::From(_value));
}
}
namespace ScopeImageBoxMethod_SetImageRect
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetImageRect__value(MyGUI::Widget* _native,
Convert<const MyGUI::types::TRect < int > &>::Type _value)
{
static_cast<MyGUI::ImageBox*>(_native)->setImageRect(
Convert<const MyGUI::types::TRect < int > &>::From(_value));
}
}
namespace ScopeImageBoxMethod_SetImageTexture
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetImageTexture__value(MyGUI::Widget* _native,
Convert<const std::string &>::Type _value)
{
static_cast<MyGUI::ImageBox*>(_native)->setImageTexture(
Convert<const std::string &>::From(_value));
}
}
namespace ScopeImageBoxMethod_SetImageInfo
{
MYGUIEXPORT void MYGUICALL ExportImageBox_SetImageInfo__texture__coord__tile(MyGUI::Widget* _native,
Convert<const std::string &>::Type _texture,
Convert<const MyGUI::types::TCoord < int > &>::Type _coord,
Convert<const MyGUI::types::TSize < int > &>::Type _tile)
{
static_cast<MyGUI::ImageBox*>(_native)->setImageInfo(
Convert<const std::string &>::From(_texture),
Convert<const MyGUI::types::TCoord < int > &>::From(_coord),
Convert<const MyGUI::types::TSize < int > &>::From(_tile));
}
}
namespace ScopeImageBoxProperty_ItemSelect
{
MYGUIEXPORT Convert<size_t>::Type MYGUICALL ExportImageBox_GetItemSelect(MyGUI::Widget* _native)
{
return Convert<size_t>::To(static_cast<MyGUI::ImageBox*>(_native)->getItemSelect());
}
MYGUIEXPORT void MYGUICALL ExportImageBox_SetItemSelect(MyGUI::Widget* _native, Convert<size_t>::Type _value)
{
static_cast<MyGUI::ImageBox*>(_native)->setItemSelect(Convert<size_t>::From(_value));
}
}
namespace ScopeImageBoxProperty_ItemCount
{
MYGUIEXPORT Convert<size_t>::Type MYGUICALL ExportImageBox_GetItemCount(MyGUI::Widget* _native)
{
return Convert<size_t>::To(static_cast<MyGUI::ImageBox*>(_native)->getItemCount());
}
}
namespace ScopeImageBoxProperty_ImageSize
{
MYGUIEXPORT Convert<MyGUI::types::TSize < int >>::Type MYGUICALL ExportImageBox_GetImageSize(MyGUI::Widget* _native)
{
return Convert<MyGUI::types::TSize < int >>::To(static_cast<MyGUI::ImageBox*>(_native)->getImageSize());
}
}
namespace ScopeImageBoxProperty_ImageIndex
{
MYGUIEXPORT Convert<size_t>::Type MYGUICALL ExportImageBox_GetImageIndex(MyGUI::Widget* _native)
{
return Convert<size_t>::To(static_cast<MyGUI::ImageBox*>(_native)->getImageIndex());
}
MYGUIEXPORT void MYGUICALL ExportImageBox_SetImageIndex(MyGUI::Widget* _native, Convert<size_t>::Type _value)
{
static_cast<MyGUI::ImageBox*>(_native)->setImageIndex(Convert<size_t>::From(_value));
}
}
}
#endif
|