IDE: High-DPI menu items. Issue #32431. Patch by FTurtle.

git-svn-id: trunk@55878 -
This commit is contained in:
michl 2017-09-17 19:02:57 +00:00
parent 8f3d7a7dea
commit 01c54b6b69
46 changed files with 80 additions and 5 deletions

23
.gitattributes vendored
View File

@ -7246,6 +7246,9 @@ images/items/item_keyboard.png -text svneol=unset#image/png
images/items/item_library.png -text svneol=unset#image/png
images/items/item_package.png -text svneol=unset#image/png
images/items/item_project.png -text svneol=unset#image/png
images/items/item_project_source.png -text
images/items/item_project_source_150.png -text
images/items/item_project_source_200.png -text
images/items/item_todo.png -text svneol=unset#image/png
images/items/item_unit.png -text svneol=unset#image/png
images/items/item_unit_150.png -text
@ -7363,16 +7366,24 @@ images/menu/menu_jumpto_interfaceuses_200.png -text
images/menu/menu_jumpto_procedurebegin.png -text svneol=unset#image/png
images/menu/menu_jumpto_procedureheader.png -text svneol=unset#image/png
images/menu/menu_manage_desktops.png -text svneol=unset#image/png
images/menu/menu_manage_source_editors.png -text
images/menu/menu_manage_source_editors_150.png -text
images/menu/menu_manage_source_editors_200.png -text
images/menu/menu_new.png -text svneol=unset#image/png
images/menu/menu_new_150.png -text
images/menu/menu_new_200.png -text
images/menu/menu_new_form.png -text
images/menu/menu_new_form_150.png -text
images/menu/menu_new_form_200.png -text
images/menu/menu_new_search.png -text
images/menu/menu_new_search_150.png -text
images/menu/menu_new_search_200.png -text
images/menu/menu_new_unit.png -text
images/menu/menu_new_unit_150.png -text
images/menu/menu_new_unit_200.png -text
images/menu/menu_pause.png -text svneol=unset#image/png
images/menu/menu_pause_150.png -text
images/menu/menu_pause_200.png -text
images/menu/menu_project_add.png -text svneol=unset#image/png
images/menu/menu_project_close.png -text svneol=unset#image/png
images/menu/menu_project_from_file.png -text
@ -7390,10 +7401,18 @@ images/menu/menu_redo_200.png -text
images/menu/menu_reportingbug.png -text svneol=unset#image/png
images/menu/menu_reset_debugger.png -text svneol=unset#image/png
images/menu/menu_run.png -text svneol=unset#image/png
images/menu/menu_run_150.png -text
images/menu/menu_run_200.png -text
images/menu/menu_run_cursor.png -text svneol=unset#image/png
images/menu/menu_run_cursor_150.png -text
images/menu/menu_run_cursor_200.png -text
images/menu/menu_run_file.png -text svneol=unset#image/png
images/menu/menu_run_parameters.png -text svneol=unset#image/png
images/menu/menu_run_parameters_150.png -text
images/menu/menu_run_parameters_200.png -text
images/menu/menu_run_withoutdebugging.png -text
images/menu/menu_run_withoutdebugging_150.png -text
images/menu/menu_run_withoutdebugging_200.png -text
images/menu/menu_save_all.png -text svneol=unset#image/png
images/menu/menu_save_all_150.png -text
images/menu/menu_save_all_200.png -text
@ -7448,6 +7467,8 @@ images/menu/menu_stepover_150.png -text
images/menu/menu_stepover_200.png -text
images/menu/menu_stepover_instr.png -text svneol=unset#image/png
images/menu/menu_stop.png -text svneol=unset#image/png
images/menu/menu_stop_150.png -text
images/menu/menu_stop_200.png -text
images/menu/menu_toggle_bookmark0.png -text
images/menu/menu_toggle_bookmark0_150.png -text
images/menu/menu_toggle_bookmark0_200.png -text
@ -7510,6 +7531,8 @@ images/menu/menu_view_search_results.png -text
images/menu/menu_view_search_results_150.png -text
images/menu/menu_view_search_results_200.png -text
images/menu/menu_view_source_editor.png -text svneol=unset#image/png
images/menu/menu_view_source_editor_150.png -text
images/menu/menu_view_source_editor_200.png -text
images/menu/menu_view_todo.png -text svneol=unset#image/png
images/menu/menu_view_toggle_form_unit.png -text svneol=unset#image/png
images/menu/menu_view_unit_info.png -text svneol=unset#image/png

View File

@ -1294,7 +1294,7 @@ begin
CreateMenuItem(ParentMI,itmProjectRemoveFrom,'itmProjectRemoveFrom',lisMenuRemoveFromProject, 'menu_project_remove');
CreateMenuItem(ParentMI,itmProjectViewUnits,'itmProjectViewUnits',lisMenuViewUnits, 'menu_view_units');
CreateMenuItem(ParentMI,itmProjectViewForms,'itmProjectViewForms',lisMenuViewForms, 'menu_view_forms');
CreateMenuItem(ParentMI,itmProjectViewSource,'itmProjectViewSource',lisMenuViewProjectSource, 'menu_project_viewsource');
CreateMenuItem(ParentMI,itmProjectViewSource,'itmProjectViewSource',lisMenuViewProjectSource, 'item_project_source');
end;
end;
@ -1431,7 +1431,7 @@ begin
with MainIDEBar do begin
CreateMenuSeparatorSection(mnuWindow,itmWindowManagers,'itmWindowManagers');
ParentMI:=itmWindowManagers;
CreateMenuItem(ParentMI,itmWindowManager,'itmWindowManager', lisManageSourceEditors, 'pkg_files');
CreateMenuItem(ParentMI,itmWindowManager,'itmWindowManager', lisManageSourceEditors, 'menu_manage_source_editors');
// Populated later with a list of editor names
CreateMenuSeparatorSection(mnuWindow,itmWindowLists,'itmWindowLists');
CreateMenuSeparatorSection(mnuWindow,itmCenterWindowLists,'itmCenterWindowLists');

View File

@ -1017,7 +1017,7 @@ begin
ImageIndexRequired := IDEImages.LoadImage('pkg_required');
ImageIndexConflict := IDEImages.LoadImage('pkg_conflict');
ImageIndexRemovedRequired := IDEImages.LoadImage('pkg_removedrequired');
ImageIndexProject := IDEImages.LoadImage('item_project');
ImageIndexProject := IDEImages.LoadImage('item_project_source');
ImageIndexUnit := IDEImages.LoadImage('item_unit');
ImageIndexRegisterUnit := IDEImages.LoadImage('pkg_registerunit');
ImageIndexText := IDEImages.LoadImage('pkg_text');

View File

@ -314,7 +314,7 @@ begin
mniCollapseAll.Caption := lisCollapseAll;
ToolBar.Images := IDEImages.Images_16;
SearchAgainButton.ImageIndex := IDEImages.LoadImage('menu_search_find');
SearchAgainButton.ImageIndex := IDEImages.LoadImage('menu_new_search');
ClosePageButton.ImageIndex := IDEImages.LoadImage('menu_close');
ActionList.Images := IDEImages.Images_16;
actClosePage.ImageIndex := IDEImages.LoadImage('menu_close');

View File

@ -88,6 +88,9 @@ items directory:
item_form.png
item_form_150.png
item_form_200.png
item_project_source.png
item_project_source_150.png
item_project_source_200.png
item_unit.png
item_unit_150.png
item_unit_200.png
@ -160,18 +163,39 @@ menu_jumpto_interfaceuses_150.png
menu_jumpto_interfaceuses_200.png
menu_jumpto_interface_150.png
menu_jumpto_interface_200.png
menu_manage_source_editors.png
menu_manage_source_editors_150.png
menu_manage_source_editors_200.png
menu_new.png
menu_new_150.png
menu_new_200.png
menu_new_form.png
menu_new_form_150.png
menu_new_form_200.png
menu_new_search.png
menu_new_search_150.png
menu_new_search_200.png
menu_new_unit.png
menu_new_unit_150.png
menu_new_unit_200.png
menu_pause.png
menu_pause_150.png
menu_pause_200.png
menu_redo.png
menu_redo_150.png
menu_redo_200.png
menu_run.png
menu_run_150.png
menu_run_200.png
menu_run_cursor.png
menu_run_cursor_150.png
menu_run_cursor_200.png
menu_run_parameters.png
menu_run_parameters_150.png
menu_run_parameters_200.png
menu_run_withoutdebugging.png
menu_run_withoutdebugging_150.png
menu_run_withoutdebugging_200.png
menu_saveas.png
menu_saveas_150.png
menu_saveas_200.png
@ -221,6 +245,9 @@ menu_stepout_200.png
menu_stepover.png
menu_stepover_150.png
menu_stepover_200.png
menu_stop.png
menu_stop_150.png
menu_stop_200.png
menu_toggle_bookmark0.png
menu_toggle_bookmark0_150.png
menu_toggle_bookmark0_200.png
@ -272,6 +299,9 @@ menu_view_messages_200.png
menu_view_search_results.png
menu_view_search_results_150.png
menu_view_search_results_200.png
menu_view_source_editor.png
menu_view_source_editor_150.png
menu_view_source_editor_200.png
menu_view_units.png
menu_view_units_150.png
menu_view_units_200.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 491 B

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

View File

@ -217,6 +217,9 @@ items/item_keyboard.png
items/item_library.png
items/item_package.png
items/item_project.png
items/item_project_source.png
items/item_project_source_150.png
items/item_project_source_200.png
items/item_todo.png
items/item_unit.png
items/item_unit_150.png
@ -313,16 +316,24 @@ menu/menu_jumpto_interface_200.png
menu/menu_jumpto_procedurebegin.png
menu/menu_jumpto_procedureheader.png
menu/menu_manage_desktops.png
menu/menu_manage_source_editors.png
menu/menu_manage_source_editors_150.png
menu/menu_manage_source_editors_200.png
menu/menu_new.png
menu/menu_new_150.png
menu/menu_new_200.png
menu/menu_new_form.png
menu/menu_new_form_150.png
menu/menu_new_form_200.png
menu/menu_new_search.png
menu/menu_new_search_150.png
menu/menu_new_search_200.png
menu/menu_new_unit.png
menu/menu_new_unit_150.png
menu/menu_new_unit_200.png
menu/menu_pause.png
menu/menu_pause_150.png
menu/menu_pause_200.png
menu/menu_project_add.png
menu/menu_project_close.png
menu/menu_project_from_file.png
@ -332,7 +343,6 @@ menu/menu_project_options.png
menu/menu_project_remove.png
menu/menu_project_save.png
menu/menu_project_saveas.png
menu/menu_project_viewsource.png
menu/menu_quick_compile.png
menu/menu_redo.png
menu/menu_redo_150.png
@ -340,10 +350,18 @@ menu/menu_redo_200.png
menu/menu_reportingbug.png
menu/menu_reset_debugger.png
menu/menu_run.png
menu/menu_run_150.png
menu/menu_run_200.png
menu/menu_run_cursor.png
menu/menu_run_cursor_150.png
menu/menu_run_cursor_200.png
menu/menu_run_file.png
menu/menu_run_parameters.png
menu/menu_run_parameters_150.png
menu/menu_run_parameters_200.png
menu/menu_run_withoutdebugging.png
menu/menu_run_withoutdebugging_150.png
menu/menu_run_withoutdebugging_200.png
menu/menu_saveas.png
menu/menu_saveas_150.png
menu/menu_saveas_200.png
@ -398,6 +416,8 @@ menu/menu_stepover_150.png
menu/menu_stepover_200.png
menu/menu_stepover_instr.png
menu/menu_stop.png
menu/menu_stop_150.png
menu/menu_stop_200.png
menu/menu_toggle_bookmark0.png
menu/menu_toggle_bookmark0_150.png
menu/menu_toggle_bookmark0_200.png
@ -460,6 +480,8 @@ menu/menu_view_search_results.png
menu/menu_view_search_results_150.png
menu/menu_view_search_results_200.png
menu/menu_view_source_editor.png
menu/menu_view_source_editor_150.png
menu/menu_view_source_editor_200.png
menu/menu_view_todo.png
menu/menu_view_toggle_form_unit.png
menu/menu_view_units.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 B

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 B

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 B

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 794 B

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 533 B

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B