Пример #1
0
        public override void SetDefaultStyle()
        {
            Font        = UI.Defaults.Button.Font;
            StateStyles = UI.Defaults.Button.States;

            OnMouseOver += MouseOver;
            OnMouseOut  += MouseOut;
            OnMouseDown += MouseDown;
            OnMouseUp   += MouseUp;
        }
Пример #2
0
 public override void SetDefaultStyle()
 {
     m_Background  = UI.Defaults.PopupMenu.Background;
     m_Border      = UI.Defaults.PopupMenu.Border;
     m_Font        = UI.Defaults.PopupMenu.Font;
     m_MenuPadding = UI.Defaults.PopupMenu.MenuPadding;
     m_ItemPadding = UI.Defaults.PopupMenu.ItemPadding;
     m_ItemSpacing = UI.Defaults.PopupMenu.ItemSpacing;
     m_Separator   = UI.Defaults.PopupMenu.Separator;
     m_ItemStates  = UI.Defaults.PopupMenu.ItemStates;
 }