keramik.c
来自「超强的嵌入式GUI系统」· C语言 代码 · 共 831 行 · 第 1/5 页
C
831 行
*/static void top_right_inactive_xpm (s_image_t *img){ unsigned int rgba[406] = { 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0xf3f6f800, 0xf5f7f900, 0xf6f8fa00, 0xf9fafb00, 0xfdfdfe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0xf3f6f800, 0xf3f6f800, 0xf3f6f800, 0xf3f6f800, 0xf4f6f800, 0xf9fafc00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xf8fafb00, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0xf3f6f800, 0xf3f6f800, 0xf3f6f800, 0xf3f6f800, 0xf3f6f800, 0xf3f6f800, 0xf6f8fa00, 0xfdfdfd00, 0xfefefe00, 0xfefefe00, 0xf4f7f900, 0x000000ff, 0x000000ff, 0x000000ff, 0xf3f5f800, 0xf3f5f800, 0xf3f5f800, 0xf3f5f800, 0xf3f5f800, 0xf3f5f800, 0xf3f5f800, 0xf4f6f800, 0xfdfdfe00, 0xfefefe00, 0xfefefe00, 0xeef1f500, 0x000000ff, 0x000000ff, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf5f7f900, 0xfefefe00, 0xfefefe00, 0xf8f9fb00, 0xe0e4e800, 0x000000ff, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xf2f5f800, 0xfafbfc00, 0xfefefe00, 0xfefefe00, 0xe0e4e800, 0x000000ff, 0xf2f5f700, 0xf2f5f700, 0xf2f5f700, 0xf2f5f700, 0xf2f5f700, 0xf2f5f700, 0xf2f5f700, 0xf2f5f700, 0xf2f5f700, 0xf4f6f800, 0xfefefe00, 0xfefefe00, 0xf6f8fa00, 0x000000ff, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xfdfdfd00, 0xfefefe00, 0xfdfdfe00, 0xaeb1b400, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xfafbfc00, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xf0f4f700, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xeff2f600, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xedf1f500, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xecf0f400, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xe8ecf000, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xe4e8ec00, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xe2e6ea00, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xc8cccf00, 0xfefefe00, 0xfefefe00, 0x9ea0a300, }; theme_set(img, rgba, 14, 29);}/* * top-right-active.xpm */static void top_right_active_xpm (s_image_t *img){ unsigned int rgba[406] = { 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x679bb500, 0x78a6bd00, 0x89b2c600, 0xb4cdda00, 0xe9f1f400, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfbfcfd00, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x659ab400, 0x659ab400, 0x659ab400, 0x659ab400, 0x6b9eb700, 0xb5cfdb00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xaac7d600, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x6197b200, 0x6197b200, 0x6197b200, 0x6197b200, 0x6197b200, 0x6197b200, 0x84aec300, 0xe4edf100, 0xfdfdfe00, 0xfdfdfe00, 0x74a4bc00, 0x000000ff, 0x000000ff, 0x000000ff, 0x5d95b000, 0x5d95b000, 0x5d95b000, 0x5d95b000, 0x5d95b000, 0x5d95b000, 0x5d95b000, 0x699cb600, 0xe9f1f400, 0xfdfdfe00, 0xfdfdfe00, 0x1a699000, 0x000000ff, 0x000000ff, 0x5992af00, 0x5992af00, 0x5992af00, 0x5992af00, 0x5992af00, 0x5992af00, 0x5992af00, 0x5992af00, 0x76a5bc00, 0xf9fbfc00, 0xfdfdfe00, 0xa0c1d100, 0x09598100, 0x000000ff, 0x5590ad00, 0x5590ad00, 0x5590ad00, 0x5590ad00, 0x5590ad00, 0x5590ad00, 0x5590ad00, 0x5590ad00, 0x5590ad00, 0xbdd4df00, 0xfdfdfe00, 0xfdfdfe00, 0x09598100, 0x000000ff, 0x508caa00, 0x508caa00, 0x508caa00, 0x508caa00, 0x508caa00, 0x508caa00, 0x508caa00, 0x508caa00, 0x508caa00, 0x699cb600, 0xfdfdfe00, 0xfdfdfe00, 0x91b7ca00, 0x08537700, 0x4a88a700, 0x4a88a700, 0x4a88a700, 0x4a88a700, 0x4a88a700, 0x4a88a700, 0x4a88a700, 0x4a88a700, 0x4a88a700, 0x4a88a700, 0xe4edf100, 0xfdfdfe00, 0xe9f1f400, 0x07456400, 0x4484a400, 0x4484a400, 0x4484a400, 0x4484a400, 0x4484a400, 0x4484a400, 0x4484a400, 0x4484a400, 0x4484a400, 0x4484a400, 0xbdd4df00, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0x3e81a200, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0x397d9f00, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x33799c00, 0x33799c00, 0x33799c00, 0x33799c00, 0x33799c00, 0x33799c00, 0x33799c00, 0x33799c00, 0x33799c00, 0x33799c00, 0x33799c00, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x2d759900, 0x2d759900, 0x2d759900, 0x2d759900, 0x2d759900, 0x2d759900, 0x2d759900, 0x2d759900, 0x2d759900, 0x2d759900, 0x2d759900, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x27729600, 0x27729600, 0x27729600, 0x27729600, 0x27729600, 0x27729600, 0x27729600, 0x27729600, 0x27729600, 0x27729600, 0x27729600, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x216e9400, 0x216e9400, 0x216e9400, 0x216e9400, 0x216e9400, 0x216e9400, 0x216e9400, 0x216e9400, 0x216e9400, 0x216e9400, 0x216e9400, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x16668e00, 0x16668e00, 0x16668e00, 0x16668e00, 0x16668e00, 0x16668e00, 0x16668e00, 0x16668e00, 0x16668e00, 0x16668e00, 0x16668e00, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x10638b00, 0x10638b00, 0x10638b00, 0x10638b00, 0x10638b00, 0x10638b00, 0x10638b00, 0x10638b00, 0x10638b00, 0x10638b00, 0x10638b00, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x0c608900, 0x0c608900, 0x0c608900, 0x0c608900, 0x0c608900, 0x0c608900, 0x0c608900, 0x0c608900, 0x0c608900, 0x0c608900, 0x0c608900, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x095e8700, 0x095e8700, 0x095e8700, 0x095e8700, 0x095e8700, 0x095e8700, 0x095e8700, 0x095e8700, 0x095e8700, 0x095e8700, 0x095e8700, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x095c8500, 0x095c8500, 0x095c8500, 0x095c8500, 0x095c8500, 0x095c8500, 0x095c8500, 0x095c8500, 0x095c8500, 0x095c8500, 0x095c8500, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x095b8300, 0x095b8300, 0x095b8300, 0x095b8300, 0x095b8300, 0x095b8300, 0x095b8300, 0x095b8300, 0x095b8300, 0x095b8300, 0x095b8300, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x095a8200, 0x095a8200, 0x095a8200, 0x095a8200, 0x095a8200, 0x095a8200, 0x095a8200, 0x095a8200, 0x095a8200, 0x095a8200, 0x095a8200, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x08507300, 0x08507300, 0x08507300, 0x08507300, 0x08507300, 0x08507300, 0x08507300, 0x08507300, 0x08507300, 0x08507300, 0x08507300, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, }; theme_set(img, rgba, 14, 29);}/* * left-inactive.xpm */static void left_inactive_xpm (s_image_t *img){ unsigned int rgba[3] = { 0xfefefe00, 0xfefefe00, 0xfafbfc00, }; theme_set(img, rgba, 3, 1);}/* * left-active.xpm */static void left_active_xpm (s_image_t *img){ unsigned int rgba[3] = { 0xfdfdfe00, 0xfdfdfe00, 0xc3d8e200, }; theme_set(img, rgba, 3, 1);}/* * right-inactive.xpm */static void right_inactive_xpm (s_image_t *img){ unsigned int rgba[4] = { 0xfafbfc00, 0xfefefe00, 0xfefefe00, 0x9ea0a300, }; theme_set(img, rgba, 4, 1);}/* * right-active.xpm */static void right_active_xpm (s_image_t *img){ unsigned int rgba[4] = { 0xc3d8e200, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, }; theme_set(img, rgba, 4, 1);}/* * bottom-left-inactive.xpm */static void bottom_left_inactive_xpm (s_image_t *img){ unsigned int rgba[80] = { 0xfefefe00, 0xfefefe00, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f600, 0xf0f3f700, 0xfefefe00, 0xfefefe00, 0xf1f4f700, 0xf1f4f700, 0xf2f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xfefefe00, 0xfefefe00, 0xf0f3f600, 0xf0f3f600, 0xf0f3f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xf1f4f700, 0xfefefe00, 0xfefefe00, 0xeff2f600, 0xeff2f600, 0xeff3f600, 0xf0f3f600, 0xf0f3f700, 0xf0f3f700, 0xf0f3f700, 0xf0f3f700, 0xfefefe00, 0xfefefe00, 0xeef2f600, 0xeef2f600, 0xeef2f600, 0xeff2f600, 0xeff2f600, 0xeff3f600, 0xeff3f600, 0xeff3f600, 0xfefefe00, 0xfefefe00, 0xeef1f500, 0xeef1f500, 0xeef1f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xeef2f500, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0xfefefe00, 0x9ea0a300, 0x9ea0a300, 0x9ea0a300, 0x9ea0a300, 0x9ea0a300, 0x9ea0a300, 0x9ea0a300, 0x9ea0a300, 0x9ea0a300, 0x9ea0a300, }; theme_set(img, rgba, 10, 8);}/* * bottom-left-active.xpm */static void bottom_left_active_xpm (s_image_t *img){ unsigned int rgba[80] = { 0xfdfdfe00, 0xfdfdfe00, 0x377c9e00, 0x377c9e00, 0x377c9e00, 0x377c9e00, 0x377c9e00, 0x377c9e00, 0x377c9e00, 0x3c7fa100, 0xfdfdfe00, 0xfdfdfe00, 0x4a88a700, 0x4a88a700, 0x4e8ba900, 0x4a88a700, 0x4686a500, 0x4484a400, 0x4484a400, 0x4484a400, 0xfdfdfe00, 0xfdfdfe00, 0x377c9e00, 0x377c9e00, 0x3c7fa100, 0x4686a500, 0x4887a600, 0x4686a500, 0x4686a500, 0x4686a500, 0xfdfdfe00, 0xfdfdfe00, 0x29739700, 0x2b749800, 0x2f779a00, 0x377c9e00, 0x3c7fa100, 0x3c7fa100, 0x3c7fa100, 0x3c7fa100, 0xfdfdfe00, 0xfdfdfe00, 0x216e9400, 0x216e9400, 0x236f9500, 0x27729600, 0x29739700, 0x2d759900, 0x2d759900, 0x2d759900, 0xfdfdfe00, 0xfdfdfe00, 0x1a699000, 0x1a699000, 0x1a699000, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0x1c6a9100, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0xfdfdfe00, 0x063f5a00, 0x063f5a00, 0x063f5a00, 0x063f5a00, 0x063f5a00, 0x063f5a00, 0x063f5a00, 0x063f5a00, 0x063f5a00, 0x063f5a00, }; theme_set(img, rgba, 10, 8);}/* * bottom-inactive.xpm */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?