Visual.java
/*
* Copyright © 2011 Nokia Corporation. All rights reserved.
* Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation.
* Oracle and Java are trademarks or registered trademarks of Oracle and/or its
* affiliates. Other product and company names mentioned herein may be trademarks
* or trade names of their respective owners.
* See LICENSE.TXT for license information.
*/
package com.nokia.example.wordpress.views;
import javax.microedition.lcdui.Font;
/**
* Visual properties.
*/
public class Visual {
public static final int BACKGROUND_COLOR = 0xffffff;
public static final int LIST_PRIMARY_COLOR = 0x0;
public static final int LIST_SECONDARY_COLOR = 0x888888;
public static final int LIST_TERTIARY_COLOR = 0x880000;
public static final int LIST_SCROLLBAR_COLOR = 0x333333;
public static final int LOGO_TEXT_COLOR = LIST_PRIMARY_COLOR;
public static final int SOFTKEY_TEXT_COLOR = LIST_PRIMARY_COLOR;
public static final int LIST_FOCUS_COLOR = 0xaaaaaa;
public static final int SOFTKEY_DECORATOR_COLOR = 0x999999;
public static final Font SMALL_FONT = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_SMALL);
public static final Font SMALL_BOLD_FONT = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_SMALL);
public static final Font SOFTKEY_FONT = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_SMALL);
public static final Font MEDIUM_FONT = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_MEDIUM);
public static final Font LARGE_FONT = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_LARGE);
public static final int SOFTKEYBAR_HEIGHT = SOFTKEY_FONT.getHeight();
public static final int EDITOR_ACTIVE_BACKGROUND_COLOR = 0x80000000;
public static final int EDITOR_ACTIVE_FOREGROUND_COLOR = 0xffffffff;
public static final int EDITOR_PASSIVE_BACKGROUND_COLOR = 0x20000000;
public static final int EDITOR_PASSIVE_FOREGROUND_COLOR = 0x20ffffff;
public static final int LOGIN_MESSAGE_COLOR = 0xff0000;
}