mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
added macros for calculator button symbols, like eg. squareroot
This commit is contained in:
parent
41e910a5b1
commit
50a4e57f10
@ -36,9 +36,25 @@
|
|||||||
|
|
||||||
/* these are UTF-8 encoded strings for common characters */
|
/* these are UTF-8 encoded strings for common characters */
|
||||||
#define UTF8_NBSP "\xc2\xa0" /* non-breaking space */
|
#define UTF8_NBSP "\xc2\xa0" /* non-breaking space */
|
||||||
#define UTF8_MULTIPLY "\xc3\x97" /* multiplication symbol */
|
|
||||||
|
#define UTF8_MULTIPLY "\xc3\x97" /* multiplication sign */
|
||||||
|
#define UTF8_DIVIDE "\xc3\xb7" /* division sign */
|
||||||
|
#define UTF8_SQUAREROOT "\xe2\x88\x9a" /* square root symbol */
|
||||||
|
#define UTF8_PLUSMINUS "\xc2\xb1" /* plusminus symbol */
|
||||||
|
|
||||||
|
#define UTF8_POW_2 "\xc2\xb2" /* superscript 2 */
|
||||||
|
#define UTF8_POW_X "\xcb\xa3" /* superscript x */
|
||||||
|
#define UTF8_POW_Y "\xca\xb8" /* superscript y */
|
||||||
|
#define UTF8_PRIME "\xca\xb9" /* prime symbol */
|
||||||
#define UTF8_DEGREES "\xc2\xb0" /* degrees symbol */
|
#define UTF8_DEGREES "\xc2\xb0" /* degrees symbol */
|
||||||
|
|
||||||
|
#define UTF8_SMALL_PI "\xcf\x80" /* Greek small letter pi */
|
||||||
|
#define UTF8_CAPITAL_SIGMA "\xce\xa3" /* Greek capital letter sigma */
|
||||||
|
#define UTF8_CAPITAL_DELTA "\xce\x94" /* Greek capital letter delta */
|
||||||
|
|
||||||
|
#define UTF8_MACRON "\xc2\xaf" /* macron symbol */
|
||||||
|
#define UTF8_NONSPACE_MACRON "\xcc\x84" /* nonspace macron, use before another char */
|
||||||
|
|
||||||
#define a_RING "\xc3\xa5" /* small a with a ring */
|
#define a_RING "\xc3\xa5" /* small a with a ring */
|
||||||
#define a_UMLAUT "\xc3\xa4" /* small a with an umlaut */
|
#define a_UMLAUT "\xc3\xa4" /* small a with an umlaut */
|
||||||
#define o_UMLAUT "\xc3\xb6" /* small o with an umlaut */
|
#define o_UMLAUT "\xc3\xb6" /* small o with an umlaut */
|
||||||
|
Loading…
Reference in New Issue
Block a user