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

« back to all changes in this revision

Viewing changes to Wrappers/MyGUI.Sharp/Widgets/Generate/MyGUI.Sharp_PopupMenu.cs

  • 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
 
using System;
9
 
using System.Runtime.InteropServices;
10
 
 
11
 
namespace MyGUI.Sharp
12
 
{
13
 
 
14
 
    public  class PopupMenu : MenuControl
15
 
    {
16
 
 
17
 
        #region PopupMenu
18
 
 
19
 
        protected override string GetWidgetType() { return "PopupMenu"; }
20
 
 
21
 
        internal static BaseWidget RequestWrapPopupMenu(BaseWidget _parent, IntPtr _widget)
22
 
        {
23
 
                        PopupMenu widget = new PopupMenu();
24
 
                        widget.WrapWidget(_parent, _widget);
25
 
            return widget;
26
 
        }
27
 
 
28
 
        internal static BaseWidget RequestCreatePopupMenu(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
29
 
        {
30
 
                        PopupMenu widget = new PopupMenu();
31
 
                        widget.CreateWidget(_parent, _style, _skin, _coord, _align, _layer, _name);
32
 
            return widget;
33
 
        }
34
 
        
35
 
                #endregion
36
 
        
37
 
                
38
 
                //InsertPoint
39
 
 
40
 
   
41
 
 
42
 
 
43
 
   
44
 
 
45
 
 
46
 
   
47
 
 
48
 
                
49
 
    }
50
 
 
51
 
}