MCPcopy Create free account
hub / github.com/MyGUI/mygui / ImageBox

Class ImageBox

Wrappers/MyGUI_Sharp/Widgets/Generate/MyGUI_Sharp_ImageBox.cs:13–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace MyGUI.Sharp
12{
13 public class ImageBox :
14 Widget
15 {
16 #region ImageBox
17
18 protected override string GetWidgetType() { return "ImageBox"; }
19
20 internal static BaseWidget RequestWrapImageBox(BaseWidget _parent, IntPtr _widget)
21 {
22 ImageBox widget = new ImageBox();
23 widget.WrapWidget(_parent, _widget);
24 return widget;
25 }
26
27 internal static BaseWidget RequestCreateImageBox(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
28 {
29 ImageBox widget = new ImageBox();
30 widget.CreateWidgetImpl(_parent, _style, _skin, _coord, _align, _layer, _name);
31 return widget;
32 }
33
34 #endregion
35
36
37 //InsertPoint
38 #region Method SetItemName
39
40 [DllImport(DllName.m_dllName, CallingConvention = CallingConvention.Cdecl)]
41 private static extern void ExportImageBox_SetItemName__value(IntPtr _native,
42 [MarshalAs(UnmanagedType.LPStr)] string _value);
43
44 public void SetItemName(
45 string _value)
46 {
47 ExportImageBox_SetItemName__value(Native,
48 _value);
49 }
50
51 #endregion
52 #region Method SetItemGroup
53
54 [DllImport(DllName.m_dllName, CallingConvention = CallingConvention.Cdecl)]
55 private static extern void ExportImageBox_SetItemGroup__value(IntPtr _native,
56 [MarshalAs(UnmanagedType.LPStr)] string _value);
57
58 public void SetItemGroup(
59 string _value)
60 {
61 ExportImageBox_SetItemGroup__value(Native,
62 _value);
63 }
64
65 #endregion
66 #region Method SetItemResource
67
68 [DllImport(DllName.m_dllName, CallingConvention = CallingConvention.Cdecl)]
69
70 private static extern bool ExportImageBox_SetItemResource__name(IntPtr _native,

Calls 2

Tested by

no test coverage detected