blob: 691996dec0ddae1e0d60329ea43c4ca0171b42da [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.xsd.ui.internal.graph;
import org.eclipse.draw2d.ColorConstants;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.Display;
/**
* A collection of color-related constants.
*/
public interface GraphicsConstants
{
public final static Display display = Display.getDefault();
public final static Color categoryBorderColor = new Color(null, 118, 134, 164);
public final static Color elementBorderColor = new Color(null, 138, 154, 184);
public final static Color elementBackgroundColor = new Color(null, 236, 242, 252);
public final static Color elementLabelColor = new Color(null, 80, 96, 144);
public final static Color readOnlyBorderColor = new Color(null, 164, 164, 164);
public final static Color readOnlyBackgroundColor = ColorConstants.white;
public final static Font smallFont = new Font(Display.getCurrent(), "Small Fonts", 6, SWT.NONE);
public final static Font medium = new Font(Display.getCurrent(), "Tahoma", 8, SWT.NONE);
public final static Font mediumBoldFont = new Font(Display.getCurrent(), "Tahoma", 8, SWT.BOLD);
}