internal static BaseWidget RequestWrapDDContainer(BaseWidget _parent, IntPtr _widget)
        {
            DDContainer widget = new DDContainer();

            widget.WrapWidget(_parent, _widget);
            return(widget);
        }
        internal static BaseWidget RequestCreateDDContainer(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
        {
            DDContainer widget = new DDContainer();

            widget.CreateWidgetImpl(_parent, _style, _skin, _coord, _align, _layer, _name);
            return(widget);
        }
		private static void OnExportChangeDDState(
			 DDContainer _sender ,
			 DDItemState _state )
		{
			if (_sender.mEventChangeDDState != null)
				_sender.mEventChangeDDState(
					 _sender ,
					 _state );
		}
		private static void OnExportDropResult(
			 DDContainer _sender ,
			ref DDItemInfo _info ,
			 bool _result )
		{
			if (_sender.mEventDropResult != null)
				_sender.mEventDropResult(
					 _sender ,
					ref _info ,
					 _result );
		}
		private static void OnExportStartDrag(
			 DDContainer _sender ,
			ref DDItemInfo _info ,
			ref bool _result )
		{
			if (_sender.mEventStartDrag != null)
				_sender.mEventStartDrag(
					 _sender ,
					ref _info ,
					ref _result );
		}
		private static void OnExportRequestDrop(
			 DDContainer _sender ,
			ref DDItemInfo _info ,
			ref bool _result )
		{
			if (_sender.mEventRequestDrop != null)
				_sender.mEventRequestDrop(
					 _sender ,
					ref _info ,
					ref _result );
		}
        private static void OnExportChangeDDState(
            IntPtr _sender,
            DDItemState _state)
        {
            DDContainer sender = (DDContainer)BaseWidget.GetByNative(_sender);

            if (sender.mEventChangeDDState != null)
            {
                sender.mEventChangeDDState(
                    sender,
                    _state);
            }
        }
 private static void OnExportUpdateDropState(
     DDContainer _sender,
     Widget _items,
     ref DDWidgetState _state)
 {
     if (_sender.mEventUpdateDropState != null)
     {
         _sender.mEventUpdateDropState(
             _sender,
             _items,
             ref _state);
     }
 }
        private static void OnExportStartDrag(
            IntPtr _sender,
            ref DDItemInfo _info,
            ref bool _result)
        {
            DDContainer sender = (DDContainer)BaseWidget.GetByNative(_sender);

            if (sender.mEventStartDrag != null)
            {
                sender.mEventStartDrag(
                    sender,
                    ref _info,
                    ref _result);
            }
        }
		private static void OnExportDragWidgetInfo(
			 DDContainer _sender ,
			ref IntPtr _item ,
			ref IntCoord _dimension )
		{
            Widget __item = null;
            
			if (_sender.mEventDragWidgetInfo != null)
				_sender.mEventDragWidgetInfo(
					 _sender ,
					ref __item ,
					ref _dimension );
					
            _item = (__item == null) ? IntPtr.Zero : __item.GetNative();
		}
Exemplo n.º 11
0
        private static void OnExportUpdateDropState(
            IntPtr _sender,
            IntPtr _items,
            ref DDWidgetState _state)
        {
            DDContainer sender = (DDContainer)BaseWidget.GetByNative(_sender);

            if (sender.mEventUpdateDropState != null)
            {
                sender.mEventUpdateDropState(
                    sender,
                    (Widget)BaseWidget.GetByNative(_items),
                    ref _state);
            }
        }
Exemplo n.º 12
0
        private static void OnExportStartDrag(
			 DDContainer _sender ,
			ref DDItemInfo _info ,
			ref bool _result )
        {
            if (_sender.mEventStartDrag != null)
                _sender.mEventStartDrag(
                     _sender ,
                    ref _info ,
                    ref _result );
        }
Exemplo n.º 13
0
        private static void OnExportDropResult(
			 DDContainer _sender ,
			ref DDItemInfo _info ,
			 bool _result )
        {
            if (_sender.mEventDropResult != null)
                _sender.mEventDropResult(
                     _sender ,
                    ref _info ,
                     _result );
        }
Exemplo n.º 14
0
        private static void OnExportRequestDrop(
			 DDContainer _sender ,
			ref DDItemInfo _info ,
			ref bool _result )
        {
            if (_sender.mEventRequestDrop != null)
                _sender.mEventRequestDrop(
                     _sender ,
                    ref _info ,
                    ref _result );
        }
Exemplo n.º 15
0
        private static void OnExportChangeDDState(
			 DDContainer _sender ,
			 DDItemState _state )
        {
            if (_sender.mEventChangeDDState != null)
                _sender.mEventChangeDDState(
                     _sender ,
                     _state );
        }
Exemplo n.º 16
0
        private static void OnExportDragWidgetInfo(
			 DDContainer _sender ,
			ref IntPtr _item ,
			ref IntCoord _dimension )
        {
            Widget __item = null;

            if (_sender.mEventDragWidgetInfo != null)
                _sender.mEventDragWidgetInfo(
                     _sender ,
                    ref __item ,
                    ref _dimension );

            _item = (__item == null) ? IntPtr.Zero : __item.GetNative();
        }
Exemplo n.º 17
0
 internal static BaseWidget RequestWrapDDContainer(BaseWidget _parent, IntPtr _widget)
 {
     DDContainer widget = new DDContainer();
     widget.WrapWidget(_parent, _widget);
     return widget;
 }
Exemplo n.º 18
0
 internal static BaseWidget RequestCreateDDContainer(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
 {
     DDContainer widget = new DDContainer();
     widget.CreateWidget(_parent, _style, _skin, _coord, _align, _layer, _name);
     return widget;
 }
Exemplo n.º 19
0
 static void container_EventUpdateDropState(DDContainer _sender, Widget _items, ref DDWidgetState _state)
 {
     Export.DebugOut("EventUpdateDropState    state=" + _state.ToString());
 }
Exemplo n.º 20
0
 static void container_EventStartDrag(DDContainer _sender, ref DDItemInfo _info, ref bool _result)
 {
     _result = true;
 }
Exemplo n.º 21
0
 static void container_EventDropResult(DDContainer _sender, ref DDItemInfo _info, bool _result)
 {
     Export.DebugOut("EventDropResult    result=" + _result.ToString());
     mWidget.Visible = false;
 }
Exemplo n.º 22
0
 static void container_EventChangeDDState(DDContainer _sender, DDItemState _state)
 {
     Export.DebugOut("EventChangeDDState    state=" + _state.ToString());
 }
 private static void OnExportUpdateDropState(
     DDContainer _sender ,
     Widget _items ,
     ref DDWidgetState _state)
 {
     if (_sender.mEventUpdateDropState != null)
         _sender.mEventUpdateDropState(
              _sender ,
              _items ,
             ref _state );
 }
Exemplo n.º 24
0
 static void container_EventRequestDrop(DDContainer _sender, ref DDItemInfo _info, ref bool _result)
 {
     _result = true;
 }
Exemplo n.º 25
0
 static void container_EventChangeDDState(DDContainer _sender, DDItemState _state)
 {
 }
Exemplo n.º 26
0
 static void container_RequestDragWidgetInfo(DDContainer _sender, ref Widget _item, ref IntCoord _dimension)
 {
     mWidget.Visible = true;
     _item = mWidget;
     _dimension = new IntCoord(0, 0, 20, 20);
 }
Exemplo n.º 27
0
 static void container_EventDropResult(DDContainer _sender, ref DDItemInfo _info, bool _result)
 {
     //mWidget.Visible = false;
 }