view dwtx/ui/forms/IFormColors.d @ 90:7ffeace6c47f

Update 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Sun, 06 Jul 2008 23:30:07 +0200
parents 5d489b9f966c
children
line wrap: on
line source

/*******************************************************************************
 * Copyright (c) 2007 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
 * Port to the D programming language:
 *     Frank Benoit <benoit@tionex.de>
 *******************************************************************************/
module dwtx.ui.forms.IFormColors;

import dwt.dwthelper.utils;

/**
 * A place to hold all the color constants used in the forms package.
 *
 * @since 3.3
 */

public interface IFormColors {
    /**
     * A prefix for all the keys.
     */
    static const String PREFIX = "dwtx.ui.forms."; //$NON-NLS-1$
    /**
     * Key for the form title foreground color.
     */
    static const String TITLE = PREFIX ~ "TITLE"; //$NON-NLS-1$

    /**
     * A prefix for the header color constants.
     */
    static const String H_PREFIX = PREFIX ~ "H_"; //$NON-NLS-1$
    /*
     * A prefix for the section title bar color constants.
     */
    static const String TB_PREFIX = PREFIX ~ "TB_"; //$NON-NLS-1$
    /**
     * Key for the form header background gradient ending color.
     */
    static const String H_GRADIENT_END = H_PREFIX ~ "GRADIENT_END"; //$NON-NLS-1$

    /**
     * Key for the form header background gradient starting color.
     *
     */
    static const String H_GRADIENT_START = H_PREFIX ~ "GRADIENT_START"; //$NON-NLS-1$
    /**
     * Key for the form header bottom keyline 1 color.
     *
     */
    static const String H_BOTTOM_KEYLINE1 = H_PREFIX ~ "BOTTOM_KEYLINE1"; //$NON-NLS-1$
    /**
     * Key for the form header bottom keyline 2 color.
     *
     */
    static const String H_BOTTOM_KEYLINE2 = H_PREFIX ~ "BOTTOM_KEYLINE2"; //$NON-NLS-1$
    /**
     * Key for the form header light hover color.
     *
     */
    static const String H_HOVER_LIGHT = H_PREFIX ~ "H_HOVER_LIGHT"; //$NON-NLS-1$
    /**
     * Key for the form header full hover color.
     *
     */
    static const String H_HOVER_FULL = H_PREFIX ~ "H_HOVER_FULL"; //$NON-NLS-1$

    /**
     * Key for the tree/table border color.
     */
    static const String BORDER = PREFIX ~ "BORDER"; //$NON-NLS-1$

    /**
     * Key for the section separator color.
     */
    static const String SEPARATOR = PREFIX ~ "SEPARATOR"; //$NON-NLS-1$

    /**
     * Key for the section title bar background.
     */
    static const String TB_BG = TB_PREFIX ~ "BG"; //$NON-NLS-1$

    /**
     * Key for the section title bar foreground.
     */
    static const String TB_FG = TB_PREFIX ~ "FG"; //$NON-NLS-1$

    /**
     * Key for the section title bar gradient.
     * @deprecated Since 3.3, this color is not used any more. The
     * tool bar gradient is created starting from {@link #TB_BG} to
     * the section background color.
     */
    static const String TB_GBG = TB_BG;

    /**
     * Key for the section title bar border.
     */
    static const String TB_BORDER = TB_PREFIX ~ "BORDER"; //$NON-NLS-1$

    /**
     * Key for the section toggle color. Since 3.1, this color is used for all
     * section styles.
     */
    static const String TB_TOGGLE = TB_PREFIX ~ "TOGGLE"; //$NON-NLS-1$

    /**
     * Key for the section toggle hover color.
     *
     */
    static const String TB_TOGGLE_HOVER = TB_PREFIX ~ "TOGGLE_HOVER"; //$NON-NLS-1$
}