Removal of old and deprecated UIForm code.
[SquirrelJME.git] / modules / cldc-compact / src / main / java / cc / squirreljme / jvm / mle / constants / UIFontFlag.java
blobb1600dcb267ed8fa335b744bb3ba75a29494ec9e
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.jvm.mle.constants;
12 import cc.squirreljme.runtime.cldc.annotation.SquirrelJMEVendorApi;
14 /**
15 * Flags used for font information.
17 * @since 2020/11/14
19 @SquirrelJMEVendorApi
20 public interface UIFontFlag
22 /** Pixel size mask. */
23 @SquirrelJMEVendorApi
24 byte PIXEL_SIZE_MASK =
25 0x7F;
27 /** The monospace font. */
28 @SquirrelJMEVendorApi
29 short FACE_MONOSPACE =
30 0x02_00;
32 /** Proportional fonts. */
33 @SquirrelJMEVendorApi
34 short FACE_PROPORTIONAL =
35 0x01_00;
37 /** The system font. */
38 @SquirrelJMEVendorApi
39 short FACE_SYSTEM =
40 0x00_00;
42 /** Font face mask. */
43 @SquirrelJMEVendorApi
44 short FACE_MASK =
45 0x7F_00;
47 /** Bold text. */
48 @SquirrelJMEVendorApi
49 int STYLE_BOLD_FLAG =
50 0x1000_0000;
52 /** Italic (slanted) text. */
53 @SquirrelJMEVendorApi
54 int STYLE_ITALIC_FLAG =
55 0x2000_0000;
57 /** Underlined text. */
58 @SquirrelJMEVendorApi
59 int STYLE_UNDERLINED_FLAG =
60 0x4000_0000;