Subversion Repositories Kolibri OS

Rev

Rev 8895 | Rev 9396 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8895 Rev 9362
Line 134... Line 134...
134
	ed_text = ESI.edit_box.text;
134
	ed_text = ESI.edit_box.text;
135
	//ESI.edit_box.pos =  //no need because of 7904
135
	//ESI.edit_box.pos =  //no need because of 7904
136
	ESI.edit_box.size = strlen(ed_text);
136
	ESI.edit_box.size = strlen(ed_text);
137
}
137
}
Line -... Line 138...
-
 
138
 
-
 
139
:dword EditBox_CreateStandart(dword width, left, top, maxlen, text, flags)
-
 
140
{
-
 
141
	dword eb, i;
-
 
142
	eb = malloc(sizeof(edit_box));
-
 
143
	for (i = 0; i < sizeof(edit_box); i++) ESBYTE[eb + i] = 0;
-
 
144
	ESDWORD[eb] = width;
-
 
145
	ESDWORD[eb + 4] = left;
-
 
146
	ESDWORD[eb + 8] = top;
-
 
147
	ESDWORD[eb + 12] = 0xffffff;
-
 
148
	ESDWORD[eb + 16] = 0x94AECE;
-
 
149
	ESDWORD[eb + 20] = 0xffffff;
-
 
150
	ESDWORD[eb + 24] = 0xffffff;
-
 
151
	ESDWORD[eb + 28] = 0x10000000;
-
 
152
	ESDWORD[eb + 32] = maxlen;
-
 
153
	ESDWORD[eb + 36] = text;
-
 
154
	ESDWORD[eb + 40] = 0;
-
 
155
	ESDWORD[eb + 44] = flags;
-
 
156
	ESDWORD[eb + 48] = 0;
-
 
157
	ESDWORD[eb + 52] = 0;
-
 
158
	return eb;
-
 
159
}
138
 
160
 
139
struct scroll_bar
161
struct scroll_bar
140
{
162
{
141
	word size_x,
163
	word size_x,
142
	start_x,
164
	start_x,