ImgEdit: first release version with the basic funcionality

Appearance: fixes


git-svn-id: svn://kolibrios.org@9643 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2022-01-15 16:31:40 +00:00
parent ee607a0840
commit dbd52c5074
6 changed files with 218 additions and 165 deletions

View File

@@ -136,11 +136,8 @@ dword width,
ESI.edit_box.size = strlen(ed_text);
}
:dword EditBox_Create(dword left, top, width, maxlen, text, flags)
:dword EditBox_Create(dword eb, left, top, width, maxlen, text, flags)
{
dword eb, i;
eb = malloc(sizeof(edit_box));
for (i = 0; i < sizeof(edit_box); i++) ESBYTE[eb + i] = 0;
ESDWORD[eb] = width;
ESDWORD[eb + 4] = left;
ESDWORD[eb + 8] = top;
@@ -155,7 +152,6 @@ dword width,
ESDWORD[eb + 44] = flags;
ESDWORD[eb + 48] = 0;
ESDWORD[eb + 52] = 0;
return eb;
}
struct scroll_bar