forked from Miroirs/x49gp
Compare commits
2 commits
2d0aa0a987
...
fb9f500842
Author | SHA1 | Date | |
---|---|---|---|
|
fb9f500842 | ||
|
ca9bc1eac1 |
3 changed files with 351 additions and 502 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ TARGET = x49gpng
|
|||
TARGET_ALLCAPS = X49GPNG
|
||||
|
||||
VERSION_MAJOR = 1
|
||||
VERSION_MINOR = 1
|
||||
VERSION_MINOR = 2
|
||||
PATCHLEVEL = 0
|
||||
|
||||
#
|
||||
|
|
821
src/x49gpng/ui.c
821
src/x49gpng/ui.c
File diff suppressed because it is too large
Load diff
|
@ -7,8 +7,6 @@
|
|||
|
||||
#include "x49gp_types.h"
|
||||
|
||||
#define LCD_PIXEL_SCALE 2
|
||||
|
||||
typedef enum {
|
||||
UI_COLOR_BLACK = 0,
|
||||
UI_COLOR_WHITE,
|
||||
|
@ -47,25 +45,23 @@ typedef enum {
|
|||
} x49gp_ui_calculator_t;
|
||||
|
||||
typedef struct {
|
||||
const char* css_class;
|
||||
const char* label;
|
||||
const char* letter;
|
||||
const char* left;
|
||||
const char* right;
|
||||
const char* below;
|
||||
x49gp_ui_color_t color;
|
||||
double font_size;
|
||||
cairo_font_weight_t font_weight;
|
||||
double letter_size;
|
||||
|
||||
int x;
|
||||
int y;
|
||||
int width;
|
||||
int height;
|
||||
|
||||
int column;
|
||||
int row;
|
||||
unsigned char columnbit;
|
||||
unsigned char rowbit;
|
||||
int eint;
|
||||
x49gp_ui_color_t bg_color;
|
||||
} x49gp_ui_key_t;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in a new issue