Ejemplo n.º 1
0
 public void SetImageSet(ImageSet imageSet)
 {
     try
     {
         this.imageSet = imageSet;
         this.Width = this.imageSet.Normal.Width;
         this.Height = this.imageSet.Normal.Height;
     }
     catch
     {
         throw new ThemingError(this, "Imageset cannot be assigned");
     }
 }
Ejemplo n.º 2
0
        public NimbusTheme()
        {
            CloseButton    = new ImageSet();
            MinimizeButton = new ImageSet();
            MaximizeButton = new ImageSet();
            LibraryButton  = new ImageSet();
            GamesButton    = new ImageSet();
            ConfigButton   = new ImageSet();
            FriendsButton  = new ImageSet();
            BackButton     = new ImageSet();
            ForwardButton  = new ImageSet();

            fontCollection = new PrivateFontCollection();
        }
Ejemplo n.º 3
0
        public NimbusTheme()
        {
            CloseButton = new ImageSet();
            MinimizeButton = new ImageSet();
            MaximizeButton = new ImageSet();
            LibraryButton = new ImageSet();
            GamesButton = new ImageSet();
            ConfigButton = new ImageSet();
            FriendsButton = new ImageSet();
            BackButton = new ImageSet();
            ForwardButton = new ImageSet();

            fontCollection = new PrivateFontCollection();
        }