Revision 1847 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.impl/src/main/java/org/gvsig/tools/swing/impl/icontheme/DefaultIconThemeManager.java

View differences:

DefaultIconThemeManager.java
45 45
	private Map<String, IconTheme> themesByName = null;
46 46
	private List<IconTheme> themes = null; 
47 47
	private FolderSet repository = null;
48

  
48
        private double scaleFactor = 1.0;
49
        
49 50
	public static IconThemeManager getIconThemeManager(){
50 51
		if (iconThemeManager == null){
51 52
			iconThemeManager = new DefaultIconThemeManager();
......
54 55
	}
55 56

  
56 57
	public DefaultIconThemeManager() {
58
                this.scaleFactor = 1.0;
57 59
		this.defaultTheme = new BaseIconTheme();
58 60
		this.currentTheme = this.defaultTheme;
59 61
		this.themesByName = null;
......
164 166
		}
165 167
		return this.themesByName;
166 168
	}
169
        
170
        public double getScaleFactor() {
171
            return this.scaleFactor;
172
        }
173

  
174
    public void setScaleFactor(double scaleFactor) {
175
        this.scaleFactor = scaleFactor;
176
    }
177
        
178
        
167 179
}

Also available in: Unified diff