示例#1
0
 public CerberusWindowWithFilesListLayout(CerberusStyles cerberusStyles, Texture windowIcon) : base(cerberusStyles, windowIcon)
 {
     directoryPathContentSize = Vector2.zero;
     typeButtonSufix          = string.Empty;
     nameButtonSufix          = string.Empty;
     sizeButtonSufix          = string.Empty;
 }
示例#2
0
        private void InitGui()
        {
            if (cerberusStyles != null)
            {
                return;
            }

            cerberusStyles = new CerberusStyles();
            InitWindowsLayouts();
        }
        private void DrawAndPositionToolHeader(CerberusStyles cerberusStyles)
        {
            GUILayout.BeginVertical();
            GUILayout.Space(10);

            GUIContent headerContent = new GUIContent(CerberusTexts.CerberusMotto);

            Rect rectangle;

            PositionElementCenter(out rectangle, headerContent, cerberusStyles.BigHeaderGuiStyle);

            GUI.Label(rectangle, headerContent, cerberusStyles.BigHeaderGuiStyle);

            GUILayout.EndVertical();
        }
 public CerberusCleanWindowLayout(CerberusCleanLogic cerberusCleanLogic, CerberusStyles cerberusStyles, Texture windowIcon)
     : base(cerberusStyles, windowIcon)
 {
     this.cerberusCleanLogic = cerberusCleanLogic;
 }
示例#5
0
 public CerberusWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon)
 {
     this.cerberusStyles = cerberusStyles;
     this.windowIcon     = windowIcon;
 }
 public CerberusMainWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon) : base(cerberusStyles, windowIcon)
 {
 }
 public CerberusOrganizeWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon)
     : base(cerberusStyles, windowIcon)
 {
 }