~ubuntu-branches/ubuntu/vivid/mygui/vivid

« back to all changes in this revision

Viewing changes to Wrappers/MyGUI.Export/Generate/MyGUI.Export_TextBox.h

  • Committer: Package Import Robot
  • Author(s): Scott Howard, Bret Curtis, Scott Howard
  • Date: 2014-09-18 17:57:48 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140918175748-dd8va78mvpw1jbes
Tags: 3.2.1-1
[ Bret Curtis ]
* Updated license for majority of files from LGPL to Expat (MIT)

[ Scott Howard ]
* New upstream release
* Updated patch to add build option for system GLEW libraries
* All patches accepted upstream except shared_libraries.patch
* Bumped SONAME due to dropped symbols, updated *.symbols and package
  names
* Updated license of debian/* to Expat with permission of all authors
* Don't install Doxygen autogenerated md5 and map files (thanks
  lintian)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*!
2
 
        @file
3
 
        @author         Generate utility by Albert Semenov
4
 
        @date           01/2009
5
 
        @module
6
 
*/
7
 
 
8
 
#ifndef __EXPORT_WIDGET_TextBox_H__
9
 
#define __EXPORT_WIDGET_TextBox_H__
10
 
 
11
 
#include "../ExportDefine.h"
12
 
#include "../ExportMarshaling.h"
13
 
#include "MyGUI.Export_MarshalingWidget.h"
14
 
#include "../ExportMarshalingType.h"
15
 
#include <MyGUI.h>
16
 
 
17
 
namespace Export
18
 
{
19
 
 
20
 
        //InsertPoint
21
 
 
22
 
        namespace ScopeTextBoxMethod_SetCaptionWithReplacing
23
 
        {
24
 
                MYGUIEXPORT void MYGUICALL ExportTextBox_SetCaptionWithReplacing_value( MyGUI::Widget* _native,
25
 
                        Convert<const std::string &>::Type _value )
26
 
                {
27
 
                        static_cast< MyGUI::TextBox * >(_native)->setCaptionWithReplacing(
28
 
                                Convert<const std::string &>::From( _value ) );
29
 
                }
30
 
        }
31
 
 
32
 
 
33
 
 
34
 
        namespace ScopeTextBoxProperty_TextColour
35
 
        {
36
 
                MYGUIEXPORT Convert<const MyGUI::Colour &>::Type MYGUICALL ExportTextBox_GetTextColour( MyGUI::Widget* _native )
37
 
                {
38
 
                        return Convert<const MyGUI::Colour &>::To( static_cast< MyGUI::TextBox * >(_native)->getTextColour( ) );
39
 
                }
40
 
                MYGUIEXPORT void MYGUICALL ExportTextBox_SetTextColour( MyGUI::Widget* _native , Convert<const MyGUI::Colour &>::Type _value )
41
 
                {
42
 
                        static_cast< MyGUI::TextBox * >(_native)->setTextColour( Convert<const MyGUI::Colour &>::From( _value ) );
43
 
                }
44
 
        }
45
 
 
46
 
 
47
 
 
48
 
        namespace ScopeTextBoxProperty_TextAlign
49
 
        {
50
 
                MYGUIEXPORT Convert<MyGUI::Align>::Type MYGUICALL ExportTextBox_GetTextAlign( MyGUI::Widget* _native )
51
 
                {
52
 
                        return Convert<MyGUI::Align>::To( static_cast< MyGUI::TextBox * >(_native)->getTextAlign( ) );
53
 
                }
54
 
                MYGUIEXPORT void MYGUICALL ExportTextBox_SetTextAlign( MyGUI::Widget* _native , Convert<MyGUI::Align>::Type _value )
55
 
                {
56
 
                        static_cast< MyGUI::TextBox * >(_native)->setTextAlign( Convert<MyGUI::Align>::From( _value ) );
57
 
                }
58
 
        }
59
 
 
60
 
 
61
 
 
62
 
        namespace ScopeTextBoxProperty_FontHeight
63
 
        {
64
 
                MYGUIEXPORT Convert<int>::Type MYGUICALL ExportTextBox_GetFontHeight( MyGUI::Widget* _native )
65
 
                {
66
 
                        return Convert<int>::To( static_cast< MyGUI::TextBox * >(_native)->getFontHeight( ) );
67
 
                }
68
 
                MYGUIEXPORT void MYGUICALL ExportTextBox_SetFontHeight( MyGUI::Widget* _native , Convert<int>::Type _value )
69
 
                {
70
 
                        static_cast< MyGUI::TextBox * >(_native)->setFontHeight( Convert<int>::From( _value ) );
71
 
                }
72
 
        }
73
 
 
74
 
 
75
 
 
76
 
        namespace ScopeTextBoxProperty_FontName
77
 
        {
78
 
                MYGUIEXPORT Convert<const std::string &>::Type MYGUICALL ExportTextBox_GetFontName( MyGUI::Widget* _native )
79
 
                {
80
 
                        return Convert<const std::string &>::To( static_cast< MyGUI::TextBox * >(_native)->getFontName( ) );
81
 
                }
82
 
                MYGUIEXPORT void MYGUICALL ExportTextBox_SetFontName( MyGUI::Widget* _native , Convert<const std::string &>::Type _value )
83
 
                {
84
 
                        static_cast< MyGUI::TextBox * >(_native)->setFontName( Convert<const std::string &>::From( _value ) );
85
 
                }
86
 
        }
87
 
 
88
 
 
89
 
 
90
 
        namespace ScopeTextBoxProperty_Caption
91
 
        {
92
 
                MYGUIEXPORT Convert<const MyGUI::UString &>::Type MYGUICALL ExportTextBox_GetCaption( MyGUI::Widget* _native )
93
 
                {
94
 
                        return Convert<const MyGUI::UString &>::To( static_cast< MyGUI::TextBox * >(_native)->getCaption( ) );
95
 
                }
96
 
                MYGUIEXPORT void MYGUICALL ExportTextBox_SetCaption( MyGUI::Widget* _native , Convert<const MyGUI::UString &>::Type _value )
97
 
                {
98
 
                        static_cast< MyGUI::TextBox * >(_native)->setCaption( Convert<const MyGUI::UString &>::From( _value ) );
99
 
                }
100
 
        }
101
 
 
102
 
 
103
 
 
104
 
        namespace ScopeTextBoxMethod_GetTextSize
105
 
        {
106
 
                MYGUIEXPORT Convert<MyGUI::types::TSize< int >>::Type MYGUICALL ExportTextBox_GetTextSize( MyGUI::Widget* _native )
107
 
                {
108
 
                        return Convert<MyGUI::types::TSize< int >>::To( static_cast< MyGUI::TextBox * >(_native)->getTextSize( ) );
109
 
                }
110
 
        }
111
 
 
112
 
 
113
 
 
114
 
        namespace ScopeTextBoxMethod_GetTextRegion
115
 
        {
116
 
                MYGUIEXPORT Convert<MyGUI::types::TCoord< int >>::Type MYGUICALL ExportTextBox_GetTextRegion( MyGUI::Widget* _native )
117
 
                {
118
 
                        return Convert<MyGUI::types::TCoord< int >>::To( static_cast< MyGUI::TextBox * >(_native)->getTextRegion( ) );
119
 
                }
120
 
        }
121
 
 
122
 
 
123
 
 
124
 
   
125
 
 
126
 
 
127
 
   
128
 
 
129
 
 
130
 
   
131
 
 
132
 
 
133
 
}
134
 
 
135
 
#endif // __EXPORT_WIDGET_TextBox_H__