Ejemplo n.º 1
0
 public PanelMenu(Microsoft.DirectX.Direct3D.Font font, PanelMenuSelectHandler handler)
 {
     _client_area = Rectangle.Empty;
     _Sticky      = false;
     _font        = font;
     _handler     = handler;
     _layout      = PanelLayout.Horizontal;
 }
Ejemplo n.º 2
0
        public PanelMenu(Microsoft.DirectX.Direct3D.Font font, string text, int x1, int y1, int x2, int y2, PanelMenuSelectHandler handler)
        {
            _client_area.X      = x1;
            _client_area.Y      = y1;
            _client_area.Width  = x2 - x1;
            _client_area.Height = y2 - y1;

            _font    = font;
            _handler = handler;
            _layout  = PanelLayout.Horizontal;

            _Sticky = false;
        }
Ejemplo n.º 3
0
        public PanelMenu(Microsoft.DirectX.Direct3D.Font font, string text, int x1, int y1, int x2, int y2, PanelMenuSelectHandler handler)
        {
            _client_area.X = x1;
            _client_area.Y = y1;
            _client_area.Width = x2 - x1;
            _client_area.Height = y2 - y1;

            _font = font;
            _handler = handler; 
            _layout = PanelLayout.Horizontal;

            _Sticky = false;
        }
Ejemplo n.º 4
0
 public PanelMenu(Microsoft.DirectX.Direct3D.Font font, PanelMenuSelectHandler handler)
 {
     _client_area = Rectangle.Empty;
     _Sticky = false;
     _font = font;
     _handler = handler;
     _layout = PanelLayout.Horizontal;
 }