Subversion Repositories Kolibri OS

Rev

Rev 1827 | Rev 6363 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1827 Rev 1828
Line 105... Line 105...
105
void draw_buttons()
105
void draw_buttons()
106
{
106
{
107
int i,tempi,tempj;
107
int i,tempi,tempj;
108
	FOR (i=1;i<=81;i++)
108
	FOR (i=1;i<=81;i++)
109
		{
109
		{
110
		if (box[i].mark==1)
110
		IF (box[i].mark==1)
111
			{
111
			{
112
			tempi=box[i].y*30-30;
112
			tempi=box[i].y*30-30;
113
			tempj=30*box[i].x-16;
113
			tempj=30*box[i].x-16;
114
			DefineButton(tempi,tempj,29,29,box[i].button_id,0xAFFFAF);
114
			DefineButton(tempi,tempj,29,29,box[i].button_id,0xAFFFAF);
115
			WriteNumber(tempi+11,tempj+11,0x80,0,box[i].text);
115
			WriteNumber(tempi+11,tempj+11,0x80,0,box[i].text);