ppsspp/UI/ui_atlas_lowmem.cpp

154 lines
12 KiB
C++
Raw Normal View History

// C++ generated by atlastool from atlasscript_lowmem.txt (hrydgard@gmail.com)
#include "ui_atlas.h"
const AtlasChar font_UBUNTU24_chardata[] = {
// RANGE: 0x20 - 0x80, start 0x18
{0.000000f, 0.000000f, 0.001953f, 0.001953f, -2.0000f, -4.0000f, 7.5000f, 1, 1}, // 0020
{0.000000f, 0.453125f, 0.015625f, 0.509766f, 0.1875f, -28.1875f, 7.9375f, 8, 29}, // 0021
{0.710938f, 0.167969f, 0.734375f, 0.193359f, 0.1250f, -28.1875f, 11.6875f, 12, 13}, // 0022
{0.552734f, 0.332031f, 0.591797f, 0.388672f, -1.0625f, -28.1875f, 18.0000f, 20, 29}, // 0023
{0.154297f, 0.302734f, 0.189453f, 0.373047f, -0.2500f, -31.9375f, 17.3750f, 18, 36}, // 0024
{0.945312f, 0.292969f, 0.992188f, 0.349609f, -0.3750f, -28.5000f, 22.7500f, 24, 29}, // 0025
{0.281250f, 0.308594f, 0.324219f, 0.365234f, -0.8750f, -28.5000f, 19.7500f, 22, 29}, // 0026
{0.601562f, 0.455078f, 0.617188f, 0.480469f, -0.2500f, -28.1875f, 6.7500f, 8, 13}, // 0027
{0.498047f, 0.423828f, 0.521484f, 0.500000f, -0.0625f, -31.0000f, 10.0625f, 12, 39}, // 0028
{0.523438f, 0.423828f, 0.546875f, 0.500000f, -1.6250f, -31.0000f, 10.1875f, 12, 39}, // 0029
{0.865234f, 0.308594f, 0.894531f, 0.339844f, -0.9375f, -21.9375f, 13.1875f, 15, 16}, // 002a
{0.302734f, 0.429688f, 0.339844f, 0.472656f, -0.8750f, -23.8125f, 17.1875f, 19, 22}, // 002b
{0.582031f, 0.455078f, 0.599609f, 0.480469f, -1.0625f, -7.6250f, 6.8750f, 9, 13}, // 002c
{0.191406f, 0.302734f, 0.216797f, 0.316406f, 0.2500f, -15.5625f, 13.0625f, 13, 7}, // 002d
{0.433594f, 0.371094f, 0.449219f, 0.386719f, 0.3125f, -7.2500f, 8.3125f, 8, 8}, // 002e
{0.966797f, 0.121094f, 0.998047f, 0.181641f, -1.8750f, -28.1875f, 12.1250f, 16, 31}, // 002f
{0.316406f, 0.371094f, 0.353516f, 0.427734f, -0.3125f, -28.5000f, 17.5625f, 19, 29}, // 0030
{0.189453f, 0.437500f, 0.214844f, 0.494141f, 1.1250f, -28.5000f, 17.5000f, 13, 29}, // 0031
{0.355469f, 0.371094f, 0.392578f, 0.427734f, -0.3125f, -28.5000f, 17.5625f, 19, 29}, // 0032
{0.394531f, 0.371094f, 0.431641f, 0.427734f, -0.4375f, -28.5000f, 17.5000f, 19, 29}, // 0033
{0.000000f, 0.333984f, 0.039062f, 0.390625f, -1.0000f, -28.1875f, 17.5625f, 20, 29}, // 0034
{0.037109f, 0.392578f, 0.072266f, 0.449219f, 0.0625f, -28.1875f, 17.5000f, 18, 29}, // 0035
{0.708984f, 0.373047f, 0.746094f, 0.429688f, -0.0625f, -28.5000f, 17.5625f, 19, 29}, // 0036
{0.748047f, 0.373047f, 0.785156f, 0.429688f, -0.6250f, -28.1875f, 17.5000f, 19, 29}, // 0037
{0.119141f, 0.375000f, 0.156250f, 0.431641f, -0.5000f, -28.5000f, 17.5625f, 19, 29}, // 0038
{0.158203f, 0.378906f, 0.195312f, 0.435547f, -0.5625f, -28.5000f, 17.5000f, 19, 29}, // 0039
{0.470703f, 0.285156f, 0.486328f, 0.328125f, 0.3125f, -21.8125f, 7.9375f, 8, 22}, // 003a
{0.251953f, 0.439453f, 0.269531f, 0.492188f, -0.1875f, -21.8125f, 7.8750f, 9, 27}, // 003b
{0.548828f, 0.451172f, 0.580078f, 0.488281f, -1.0000f, -20.6875f, 15.1250f, 16, 19}, // 003c
{0.634766f, 0.167969f, 0.667969f, 0.195312f, 0.1250f, -20.0625f, 16.8750f, 17, 14}, // 003d
{0.416016f, 0.451172f, 0.449219f, 0.488281f, -0.1250f, -20.4375f, 15.4375f, 17, 19}, // 003e
{0.951172f, 0.410156f, 0.984375f, 0.466797f, -1.2500f, -28.5000f, 14.3750f, 17, 29}, // 003f
{0.095703f, 0.238281f, 0.152344f, 0.308594f, -0.8125f, -27.8125f, 27.5625f, 29, 36}, // 0040
{0.820312f, 0.308594f, 0.863281f, 0.365234f, -1.4375f, -28.1875f, 18.6875f, 22, 29}, // 0041
{0.041016f, 0.333984f, 0.080078f, 0.390625f, 0.3125f, -28.1875f, 18.7500f, 20, 29}, // 0042
{0.667969f, 0.333984f, 0.707031f, 0.390625f, -0.3125f, -28.5625f, 18.8125f, 20, 29}, // 0043
{0.593750f, 0.337891f, 0.632812f, 0.394531f, 0.3125f, -28.1875f, 19.7500f, 20, 29}, // 0044
{0.634766f, 0.392578f, 0.669922f, 0.449219f, 0.3125f, -28.1875f, 16.4375f, 18, 29}, // 0045
{0.671875f, 0.392578f, 0.707031f, 0.449219f, 0.3125f, -28.1875f, 16.3750f, 18, 29}, // 0046
{0.371094f, 0.312500f, 0.412109f, 0.369141f, -0.3125f, -28.5000f, 19.8750f, 21, 29}, // 0047
{0.414062f, 0.312500f, 0.455078f, 0.369141f, 0.3125f, -28.1875f, 20.8125f, 21, 29}, // 0048
{0.017578f, 0.453125f, 0.033203f, 0.509766f, 0.6250f, -28.1875f, 8.6250f, 8, 29}, // 0049
{0.587891f, 0.396484f, 0.623047f, 0.453125f, -1.0625f, -28.1875f, 16.3750f, 18, 29}, // 004a
{0.722656f, 0.314453f, 0.763672f, 0.371094f, 0.3125f, -28.1875f, 18.7500f, 21, 29}, // 004b
{0.845703f, 0.410156f, 0.880859f, 0.466797f, 0.3125f, -28.1875f, 16.3750f, 18, 29}, // 004c
{0.894531f, 0.292969f, 0.943359f, 0.349609f, 0.1875f, -28.1875f, 24.8125f, 25, 29}, // 004d
{0.765625f, 0.314453f, 0.806641f, 0.371094f, 0.3125f, -28.1875f, 20.8125f, 21, 29}, // 004e
{0.191406f, 0.320312f, 0.232422f, 0.376953f, -0.3750f, -28.5000f, 20.2500f, 21, 29}, // 004f
{0.865234f, 0.351562f, 0.904297f, 0.408203f, 0.3125f, -28.1875f, 18.7500f, 20, 29}, // 0050
{0.953125f, 0.000000f, 0.998047f, 0.060547f, -0.3750f, -28.5000f, 20.6250f, 23, 31}, // 0051
{0.906250f, 0.351562f, 0.945312f, 0.408203f, 0.3125f, -28.1250f, 18.8750f, 20, 29}, // 0052
{0.947266f, 0.351562f, 0.986328f, 0.408203f, -0.5000f, -28.5000f, 18.1875f, 20, 29}, // 0053
{0.234375f, 0.320312f, 0.275391f, 0.376953f, -1.3125f, -28.1875f, 17.3750f, 21, 29}, // 0054
{0.457031f, 0.332031f, 0.498047f, 0.388672f, 0.0625f, -28.1875f, 20.1250f, 21, 29}, // 0055
{0.953125f, 0.062500f, 0.998047f, 0.119141f, -1.6875f, -28.1875f, 18.6875f, 23, 29}, // 0056
{0.609375f, 0.279297f, 0.666016f, 0.335938f, -1.4375f, -28.1875f, 25.8125f, 29, 29}, // 0057
{0.095703f, 0.310547f, 0.138672f, 0.367188f, -1.2500f, -28.1875f, 18.6875f, 22, 29}, // 0058
{0.326172f, 0.312500f, 0.369141f, 0.369141f, -1.5625f, -28.1875f, 18.6875f, 22, 29}, // 0059
{0.197266f, 0.378906f, 0.234375f, 0.435547f, -0.7500f, -28.1875f, 16.6875f, 19, 29}, // 005a
{0.146484f, 0.437500f, 0.166016f, 0.511719f, 0.1250f, -31.7500f, 8.4375f, 10, 38}, // 005b
{0.917969f, 0.410156f, 0.949219f, 0.470703f, -1.6250f, -28.1875f, 12.3750f, 16, 31}, // 005c
{0.167969f, 0.437500f, 0.187500f, 0.511719f, -1.7500f, -31.7500f, 8.4375f, 10, 38}, // 005d
{0.722656f, 0.279297f, 0.751953f, 0.312500f, -1.1250f, -28.1875f, 12.7500f, 15, 17}, // 005e
{0.492188f, 0.257812f, 0.525391f, 0.271484f, -1.8750f, -4.0000f, 13.3125f, 17, 7}, // 005f
{0.218750f, 0.238281f, 0.240234f, 0.255859f, -0.8125f, -29.2500f, 9.8750f, 11, 9}, // 0060
{0.341797f, 0.429688f, 0.376953f, 0.474609f, -0.7500f, -22.3125f, 16.0625f, 18, 23}, // 0061
{0.808594f, 0.367188f, 0.843750f, 0.427734f, -0.0625f, -29.8750f, 16.7500f, 18, 31}, // 0062
{0.634766f, 0.337891f, 0.667969f, 0.382812f, -0.7500f, -22.3125f, 15.3750f, 17, 23}, // 0063
{0.082031f, 0.369141f, 0.117188f, 0.429688f, -0.6875f, -29.8750f, 16.7500f, 18, 31}, // 0064
{0.378906f, 0.429688f, 0.414062f, 0.474609f, -0.7500f, -22.3125f, 15.5000f, 18, 23}, // 0065
{0.273438f, 0.427734f, 0.300781f, 0.488281f, -1.2500f, -30.2500f, 10.1250f, 14, 31}, // 0066
{0.236328f, 0.378906f, 0.271484f, 0.437500f, -0.6250f, -22.3125f, 16.7500f, 18, 30}, // 0067
{0.882812f, 0.410156f, 0.916016f, 0.468750f, -0.1250f, -29.8750f, 16.7500f, 17, 30}, // 0068
{0.451172f, 0.451172f, 0.466797f, 0.509766f, 0.1875f, -29.9375f, 7.7500f, 8, 30}, // 0069
{0.787109f, 0.373047f, 0.808594f, 0.447266f, -3.1250f, -30.0000f, 7.8125f, 11, 38}, // 006a
{0.433594f, 0.390625f, 0.468750f, 0.449219f, -0.0625f, -29.8750f, 15.5000f, 18, 30}, // 006b
{0.685547f, 0.451172f, 0.701172f, 0.509766f, 0.1875f, -29.9375f, 7.7500f, 8, 30}, // 006c
{0.500000f, 0.332031f, 0.550781f, 0.376953f, -0.0625f, -22.3125f, 25.6875f, 26, 23}, // 006d
{0.708984f, 0.431641f, 0.742188f, 0.476562f, -0.0625f, -22.3125f, 16.7500f, 17, 23}, // 006e
{0.527344f, 0.115234f, 0.564453f, 0.160156f, -0.7500f, -22.3125f, 16.7500f, 19, 23}, // 006f
{0.550781f, 0.390625f, 0.585938f, 0.449219f, -0.0625f, -22.3125f, 16.7500f, 18, 30}, // 0070
{0.000000f, 0.392578f, 0.035156f, 0.451172f, -0.6875f, -22.3125f, 16.7500f, 18, 30}, // 0071
{0.625000f, 0.451172f, 0.650391f, 0.496094f, -0.0625f, -22.3125f, 10.4375f, 13, 23}, // 0072
{0.744141f, 0.431641f, 0.777344f, 0.476562f, -0.9375f, -22.3125f, 15.0000f, 17, 23}, // 0073
{0.779297f, 0.449219f, 0.804688f, 0.501953f, -1.4375f, -26.3750f, 10.1875f, 13, 27}, // 0074
{0.111328f, 0.433594f, 0.144531f, 0.478516f, -0.1250f, -21.9375f, 16.7500f, 17, 23}, // 0075
{0.810547f, 0.429688f, 0.845703f, 0.472656f, -1.4375f, -21.9375f, 15.0000f, 18, 22}, // 0076
{0.500000f, 0.378906f, 0.548828f, 0.421875f, -1.3125f, -21.9375f, 22.0625f, 25, 22}, // 0077
{0.074219f, 0.431641f, 0.109375f, 0.474609f, -1.4375f, -21.9375f, 15.0000f, 18, 22}, // 0078
{0.277344f, 0.367188f, 0.314453f, 0.425781f, -1.6875f, -21.9375f, 15.0000f, 19, 30}, // 0079
{0.216797f, 0.439453f, 0.250000f, 0.482422f, -0.7500f, -21.9375f, 15.0000f, 17, 22}, // 007a
{0.972656f, 0.183594f, 0.998047f, 0.255859f, -1.1250f, -30.5000f, 10.0000f, 13, 37}, // 007b
{0.140625f, 0.310547f, 0.154297f, 0.375000f, 0.1875f, -28.1875f, 7.4375f, 7, 33}, // 007c
{0.470703f, 0.390625f, 0.496094f, 0.462891f, -1.5000f, -30.5000f, 10.0000f, 13, 37}, // 007d
{0.669922f, 0.167969f, 0.708984f, 0.189453f, -0.1875f, -17.3125f, 19.6250f, 20, 11}, // 007e
{0.667969f, 0.279297f, 0.720703f, 0.332031f, 1.7500f, -24.5000f, 30.0000f, 27, 27}, // 007f
// RANGE: 0xfffd - 0xfffe, start 0x78
{0.908203f, 0.195312f, 0.970703f, 0.291016f, -0.6250f, -39.6875f, 30.1875f, 32, 49}, // fffd
};
const AtlasCharRange font_UBUNTU24_ranges[] = {
{ 32, 128, 0 },
{ 65533, 65534, 96 },
};
const AtlasFont font_UBUNTU24 = {
-6.125000f, // padding
49.000000f, // height
37.687500f, // ascend
0.750000f, // distslope
font_UBUNTU24_chardata,
font_UBUNTU24_ranges,
2,
"UBUNTU24", // name
};
const AtlasFont *ui_fonts[1] = {
&font_UBUNTU24,
};
const AtlasImage ui_images[24] = {
{0.653320f, 0.452148f, 0.682617f, 0.481445f, 16, 16, "I_SOLIDWHITE"},
{0.219727f, 0.258789f, 0.278320f, 0.317383f, 31, 31, "I_CROSS"},
{0.155273f, 0.239258f, 0.215820f, 0.299805f, 32, 32, "I_CIRCLE"},
{0.493164f, 0.274414f, 0.547852f, 0.329102f, 29, 29, "I_SQUARE"},
{0.752930f, 0.256836f, 0.817383f, 0.311523f, 34, 29, "I_TRIANGLE"},
{0.356445f, 0.258789f, 0.489258f, 0.282227f, 69, 13, "I_SELECT"},
{0.356445f, 0.286133f, 0.467773f, 0.309570f, 58, 13, "I_START"},
{0.038086f, 0.452148f, 0.061523f, 0.499023f, 13, 25, "I_ARROW"},
{0.635742f, 0.196289f, 0.749023f, 0.276367f, 59, 42, "I_DIR"},
{0.528320f, 0.168945f, 0.631836f, 0.270508f, 54, 53, "I_ROUND"},
{0.569336f, 0.000977f, 0.737305f, 0.165039f, 87, 85, "I_STICK"},
{0.741211f, 0.125977f, 0.963867f, 0.192383f, 115, 35, "I_SHOULDER"},
{0.551758f, 0.274414f, 0.606445f, 0.329102f, 29, 29, "I_CHECKEDBOX"},
{0.752930f, 0.196289f, 0.905273f, 0.252930f, 79, 30, "I_RECT"},
{0.000977f, 0.000977f, 0.239258f, 0.235352f, 123, 121, "I_STICKBG"},
{0.741211f, 0.000977f, 0.950195f, 0.122070f, 108, 63, "I_BG"},
{0.846680f, 0.368164f, 0.862305f, 0.395508f, 9, 15, "I_L"},
{0.973633f, 0.258789f, 0.997070f, 0.286133f, 13, 15, "I_R"},
{0.000977f, 0.239258f, 0.092773f, 0.331055f, 48, 48, "I_DROP_SHADOW"},
{0.821289f, 0.256836f, 0.891602f, 0.305664f, 37, 26, "I_LINES"},
{0.282227f, 0.258789f, 0.352539f, 0.305664f, 37, 25, "I_GRID"},
{0.243164f, 0.000977f, 0.565430f, 0.112305f, 166, 58, "I_LOGO"},
{0.243164f, 0.116211f, 0.381836f, 0.254883f, 72, 72, "I_ICON"},
{0.385742f, 0.116211f, 0.524414f, 0.254883f, 72, 72, "I_ICONGOLD"},
};
const Atlas ui_atlas = {
"ui_atlas.zim",
ui_fonts, 1,
ui_images, 24,
};