Beispiel #1
0
        internal static BaseWidget RequestWrapMenuControl(BaseWidget _parent, IntPtr _widget)
        {
            MenuControl widget = new MenuControl();

            widget.WrapWidget(_parent, _widget);
            return(widget);
        }
Beispiel #2
0
        internal static BaseWidget RequestCreateMenuControl(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
        {
            MenuControl widget = new MenuControl();

            widget.CreateWidget(_parent, _style, _skin, _coord, _align, _layer, _name);
            return(widget);
        }
Beispiel #3
0
 private static void OnExportMenuCtrlClose(
     MenuControl _sender)
 {
     if (_sender.mEventMenuCtrlClose != null)
     {
         _sender.mEventMenuCtrlClose(
             _sender);
     }
 }
Beispiel #4
0
        private static void OnExportMenuCtrlClose(
            IntPtr _sender)
        {
            MenuControl sender = (MenuControl)BaseWidget.GetByNative(_sender);

            if (sender.mEventMenuCtrlClose != null)
            {
                sender.mEventMenuCtrlClose(
                    sender);
            }
        }
Beispiel #5
0
 private static void OnExportMenuCtrlAccept(
     MenuControl _sender,
     MenuItem _item)
 {
     if (_sender.mEventMenuCtrlAccept != null)
     {
         _sender.mEventMenuCtrlAccept(
             _sender,
             _item);
     }
 }
Beispiel #6
0
        private static void OnExportMenuCtrlAccept(
            IntPtr _sender,
            IntPtr _item)
        {
            MenuControl sender = (MenuControl)BaseWidget.GetByNative(_sender);

            if (sender.mEventMenuCtrlAccept != null)
            {
                sender.mEventMenuCtrlAccept(
                    sender,
                    (MenuItem)BaseWidget.GetByNative(_item));
            }
        }
 private static void OnExportMenuCtrlClose(
     MenuControl _sender)
 {
     if (_sender.mEventMenuCtrlClose != null)
         _sender.mEventMenuCtrlClose(
              _sender );
 }
 private static void OnExportMenuCtrlAccept(
     MenuControl _sender ,
     MenuItem _item)
 {
     if (_sender.mEventMenuCtrlAccept != null)
         _sender.mEventMenuCtrlAccept(
              _sender ,
              _item );
 }
 internal static BaseWidget RequestWrapMenuControl(BaseWidget _parent, IntPtr _widget)
 {
     MenuControl widget = new MenuControl();
     widget.WrapWidget(_parent, _widget);
     return widget;
 }
 internal static BaseWidget RequestCreateMenuControl(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
 {
     MenuControl widget = new MenuControl();
     widget.CreateWidgetImpl(_parent, _style, _skin, _coord, _align, _layer, _name);
     return widget;
 }
Beispiel #11
0
 static void menu_EventMenuCtrlClose(MenuControl _sender)
 {
     Gui.Instance.Log("TestApp", LogLevel.Info, "EventMenuCtrlClose");
 }
Beispiel #12
0
 static void menu_EventMenuCtrlAccept(MenuControl _sender, MenuItem _item)
 {
     Gui.Instance.Log("TestApp", LogLevel.Info, "EventMenuCtrlAccept  item=" + _item.ToString());
 }
Beispiel #13
0
 static void menu_EventMenuCtrlClose(MenuControl _sender)
 {
     Export.DebugOut("EventMenuCtrlClose");
 }
Beispiel #14
0
 static void menu_EventMenuCtrlAccept(MenuControl _sender, MenuItem _item)
 {
     Export.DebugOut("EventMenuCtrlAccept  item=" + _item.ToString());
 }