Subversion Repositories Kolibri OS

Rev

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

Rev 6191 Rev 6197
Line 62... Line 62...
62
				if (key_scancode==SCAN_CODE_ESC) ExitSettings();
62
				if (key_scancode==SCAN_CODE_ESC) ExitSettings();
63
				break;
63
				break;
64
				
64
				
Line 65... Line 65...
65
			case evReDraw:
65
			case evReDraw:
66
				DefineAndDrawWindow(Form.left + Form.width/2-10, Form.top + Form.height/2 - 75, 370, 243+GetSkinHeight(),0x34,system.color.work,TITLE_SETT);
66
				DefineAndDrawWindow(Form.left + Form.width/2-10, Form.top + Form.height/2 - 75, 370, 258+GetSkinHeight(),0x34,system.color.work,TITLE_SETT);
67
				DrawSettingsCheckBoxes();
67
				DrawSettingsCheckBoxes();
68
				DrawFlatButton(9, 166, strlen(SAVE_PATH_AS_DEFAULT)+3*8, 24, 6, SAVE_PATH_AS_DEFAULT);
68
				DrawFlatButton(9, 180, strlen(SAVE_PATH_AS_DEFAULT)+3*8, 24, 6, SAVE_PATH_AS_DEFAULT);
69
				DrawFlatButton(9, 200, strlen(EDIT_FILE_ASSOCIATIONS)+3*8, 24, 5, EDIT_FILE_ASSOCIATIONS);
69
				DrawFlatButton(9, 216, strlen(EDIT_FILE_ASSOCIATIONS)+3*8, 24, 5, EDIT_FILE_ASSOCIATIONS);
70
		}
70
		}
71
	}
71
	}
72
}
72
}
Line 73... Line 73...
73
 
73
 
Line 80... Line 80...
80
}
80
}
81
 
81
 
Line 82... Line 82...
82
void DrawSettingsCheckBoxes()
82
void DrawSettingsCheckBoxes()
83
{
83
{
84
	CheckBox(10, 11, 20, SHOW_DEVICE_CLASS,  show_dev_name);
84
	CheckBox(10, 13, 20, SHOW_DEVICE_CLASS,  show_dev_name);
85
	CheckBox(10, 33, 21, SHOW_REAL_NAMES,  real_files_names_case);
85
	CheckBox(10, 37, 21, SHOW_REAL_NAMES,  real_files_names_case);
86
	CheckBox(10, 55, 22, NOTIFY_COPY_END,  info_after_copy);
86
	CheckBox(10, 61, 22, NOTIFY_COPY_END,  info_after_copy);
87
	CheckBox(10, 77, 24, USE_TWO_PANELS,  two_panels);
87
	CheckBox(10, 85, 24, USE_TWO_PANELS,  two_panels);
88
	MoreLessBox(10, 105, 25, 26, files.item_h, LIST_LINE_HEIGHT);
88
	MoreLessBox(10, 115, 25, 26, files.item_h, LIST_LINE_HEIGHT);
89
	if (label.font) MoreLessBox(10, 132, 30, 31, label.size.pt, FONT_SIZE_LABEL);
89
	if (label.font) MoreLessBox(10, 144, 30, 31, label.size.pt, FONT_SIZE_LABEL);
90
}
90
}
Line 91... Line 91...
91
 
91
 
92
 
92