migrate MwLLColor and MwLLPixmap
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
e1824cffa0
commit
6e6233edc8
55 changed files with 754 additions and 669 deletions
|
|
@ -13,12 +13,10 @@ print(OUT "};\n");
|
|||
print(OUT "\n");
|
||||
print(OUT "static struct color* colors = NULL;\n");
|
||||
print(OUT "\n");
|
||||
print(OUT "MwLLColor MwParseColorName(MwWidget handle, const char* color){\n");
|
||||
print(OUT "MwColor MwParseColorName(MwWidget handle, const char* color){\n");
|
||||
print(OUT " MwRGB rgb;\n");
|
||||
print(OUT " MwParseColorNameNoAllocate(color, &rgb);\n");
|
||||
print(OUT
|
||||
" return MwLLAllocColor(handle->lowlevel, rgb.red, rgb.green, rgb.blue);\n"
|
||||
);
|
||||
print(OUT " return MwAllocColor(handle, rgb.red, rgb.green, rgb.blue);\n");
|
||||
print(OUT "}\n");
|
||||
print(OUT "\n");
|
||||
print(OUT "void MwParseColorNameNoAllocate(const char* color, MwRGB* rgb){\n");
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ int main(int argc, char** argv) {
|
|||
printf(" * Copyright notice:\n");
|
||||
printf(" * \"%s\"\n", rec.u.atom);
|
||||
printf(" */\n");
|
||||
printf("MwFont MwFontData[] = {\n");
|
||||
printf("MwFontResource MwFontData[] = {\n");
|
||||
for(i = 0; i < 0x100; i++) {
|
||||
int y, x;
|
||||
FT_Bitmap bitmap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue