~do-win/do/test-paths

« back to all changes in this revision

Viewing changes to Do.Interface.Windows.Classic/src/ClassicTheme.cs

  • Committer: Hardeep S
  • Date: 2009-06-23 04:22:47 UTC
  • Revision ID: ootz0rz@gmail.com-20090623042247-ciyax78ykbtlx4ee
added Do.Interface.Windows.AnimationBase and Do.Interface.Windows.Classic

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ClassicTheme.cs
 
2
// 
 
3
// Copyright (C) 2008 GNOME Do
 
4
//
 
5
// This program is free software: you can redistribute it and/or modify
 
6
// it under the terms of the GNU General Public License as published by
 
7
// the Free Software Foundation, either version 3 of the License, or
 
8
// (at your option) any later version.
 
9
//
 
10
// This program is distributed in the hope that it will be useful,
 
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
// GNU General Public License for more details.
 
14
//
 
15
// You should have received a copy of the GNU General Public License
 
16
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
//
 
18
 
 
19
using System;
 
20
 
 
21
using Do.Interface.AnimationBase;
 
22
 
 
23
namespace Do.Interface
 
24
{
 
25
        public class AnimatedClassicWindow : AbstractAnimatedInterface
 
26
        {
 
27
                protected override IRenderTheme RenderTheme {
 
28
                        get { return new ClassicTheme (); }
 
29
                }
 
30
        }
 
31
        
 
32
        public class ClassicTheme : IRenderTheme
 
33
        {
 
34
                
 
35
                public string Name {
 
36
                        get {
 
37
                                return "Classic";
 
38
                        }
 
39
                }
 
40
 
 
41
                public string Description {
 
42
                        get {
 
43
                                return "It's the classic";
 
44
                        }
 
45
                }
 
46
                
 
47
                public IBezelDefaults GetDefaults (BezelDrawingArea parent)
 
48
                {
 
49
                        return new ClassicBezelDefaults ();
 
50
                }
 
51
 
 
52
                public IBezelOverlayRenderElement GetOverlay (BezelDrawingArea parent)
 
53
                {
 
54
                        return new ClassicTextOverlayRenderer (parent);
 
55
                }
 
56
 
 
57
                public IBezelPaneRenderElement GetPane (BezelDrawingArea parent)
 
58
                {
 
59
                        return new ClassicPaneOutlineRenderer (parent);
 
60
                }
 
61
 
 
62
                public IBezelTitleBarRenderElement GetTitleBar (BezelDrawingArea parent)
 
63
                {
 
64
                        return new ClassicTopBar (parent);
 
65
                }
 
66
 
 
67
                public IBezelWindowRenderElement GetWindow (BezelDrawingArea parent)
 
68
                {
 
69
                        return new ClassicBackgroundRenderer (parent);
 
70
                }
 
71
 
 
72
                
 
73
        }
 
74
}