Make Exported just be SquirrelJMEVendorApi.
[SquirrelJME.git] / modules / cldc-compact / src / main / java / cc / squirreljme / jvm / mle / constants / UIFontFlag.java
blob35a6480fb5d77c7a8efb2ea92726e9fded7dda73
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 GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.jvm.mle.constants;
12 /**
13 * Flags used for font information.
15 * @since 2020/11/14
17 public interface UIFontFlag
19 /** Pixel size mask. */
20 byte PIXEL_SIZE_MASK =
21 0x7F;
23 /** The monospace font. */
24 short FACE_MONOSPACE =
25 0x02_00;
27 /** Proportional fonts. */
28 short FACE_PROPORTIONAL =
29 0x01_00;
31 /** The system font. */
32 short FACE_SYSTEM =
33 0x00_00;
35 /** Font face mask. */
36 short FACE_MASK =
37 0x7F_00;
39 /** Bold text. */
40 int STYLE_BOLD_FLAG =
41 0x1000_0000;
43 /** Italic (slanted) text. */
44 int STYLE_ITALIC_FLAG =
45 0x2000_0000;
47 /** Underlined text. */
48 int STYLE_UNDERLINED_FLAG =
49 0x4000_0000;