implement gdi text renderer
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
9a29682915
commit
8ebc8108ed
20 changed files with 16827 additions and 16830 deletions
|
|
@ -226,16 +226,16 @@ static MwWidget MwCreateWidget_Internal(MwClass widget_class, const char* name,
|
|||
MwWidget h = malloc(sizeof(*h));
|
||||
|
||||
if(name)
|
||||
h->name = MwStringDuplicate(name);
|
||||
h->name = MwStringDuplicate(name);
|
||||
else
|
||||
h->name = NULL;
|
||||
h->name = NULL;
|
||||
|
||||
h->parent = parent;
|
||||
h->children = NULL;
|
||||
|
||||
if(widget_class != NULL) {
|
||||
if((h->lowlevel = MwLLCreate(parent == NULL ? NULL : parent->lowlevel, x, y, width, height)) == NULL) {
|
||||
if(h->name) {
|
||||
if(h->name) {
|
||||
free(h->name);
|
||||
}
|
||||
free(h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue