ide: images: anchor editor. Designed by FTurtle, issue #31730
git-svn-id: trunk@54799 -
34
.gitattributes
vendored
@ -6711,13 +6711,47 @@ images/designer/add_submenu_below.png -text svneol=unset#image/png
|
||||
images/designer/add_submenu_right.png -text svneol=unset#image/png
|
||||
images/designer/align.png -text
|
||||
images/designer/anchor_bottom.png -text svneol=unset#image/png
|
||||
images/designer/anchor_bottom_bottom.png -text
|
||||
images/designer/anchor_bottom_bottom_150.png -text
|
||||
images/designer/anchor_bottom_bottom_200.png -text
|
||||
images/designer/anchor_bottom_center.png -text
|
||||
images/designer/anchor_bottom_center_150.png -text
|
||||
images/designer/anchor_bottom_center_200.png -text
|
||||
images/designer/anchor_bottom_top.png -text
|
||||
images/designer/anchor_bottom_top_150.png -text
|
||||
images/designer/anchor_bottom_top_200.png -text
|
||||
images/designer/anchor_center_horizontal.png -text svneol=unset#image/png
|
||||
images/designer/anchor_center_vertical.png -text svneol=unset#image/png
|
||||
images/designer/anchor_left.png -text svneol=unset#image/png
|
||||
images/designer/anchor_left_center.png -text
|
||||
images/designer/anchor_left_center_150.png -text
|
||||
images/designer/anchor_left_center_200.png -text
|
||||
images/designer/anchor_left_left.png -text
|
||||
images/designer/anchor_left_left_150.png -text
|
||||
images/designer/anchor_left_left_200.png -text
|
||||
images/designer/anchor_left_right.png -text svneol=unset#image/png
|
||||
images/designer/anchor_left_right_150.png -text
|
||||
images/designer/anchor_left_right_200.png -text
|
||||
images/designer/anchor_right.png -text svneol=unset#image/png
|
||||
images/designer/anchor_right_center.png -text
|
||||
images/designer/anchor_right_center_150.png -text
|
||||
images/designer/anchor_right_center_200.png -text
|
||||
images/designer/anchor_right_left.png -text
|
||||
images/designer/anchor_right_left_150.png -text
|
||||
images/designer/anchor_right_left_200.png -text
|
||||
images/designer/anchor_right_right.png -text
|
||||
images/designer/anchor_right_right_150.png -text
|
||||
images/designer/anchor_right_right_200.png -text
|
||||
images/designer/anchor_top.png -text svneol=unset#image/png
|
||||
images/designer/anchor_top_bottom.png -text svneol=unset#image/png
|
||||
images/designer/anchor_top_bottom_150.png -text
|
||||
images/designer/anchor_top_bottom_200.png -text
|
||||
images/designer/anchor_top_center.png -text
|
||||
images/designer/anchor_top_center_150.png -text
|
||||
images/designer/anchor_top_center_200.png -text
|
||||
images/designer/anchor_top_top.png -text
|
||||
images/designer/anchor_top_top_150.png -text
|
||||
images/designer/anchor_top_top_200.png -text
|
||||
images/designer/mirror_horizontal.png -text
|
||||
images/designer/mirror_vertical.png -text
|
||||
images/designer/scale.png -text
|
||||
|
||||
@ -465,19 +465,31 @@ begin
|
||||
end;
|
||||
|
||||
procedure TAnchorDesigner.LoadGlyphs;
|
||||
|
||||
function GetSuffix: String;
|
||||
begin
|
||||
if Screen.PixelsPerInch < 144 then Exit('');
|
||||
if Screen.PixelsPerInch < 192 then Exit('_150');
|
||||
Exit('_200');
|
||||
end;
|
||||
|
||||
var
|
||||
Suffix: String;
|
||||
begin
|
||||
LeftRefLeftSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_left');
|
||||
LeftRefCenterSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_center_horizontal');
|
||||
LeftRefRightSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_left_right');
|
||||
RightRefLeftSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_left_right');
|
||||
RightRefCenterSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_center_horizontal');
|
||||
RightRefRightSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_right');
|
||||
TopRefTopSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_top');
|
||||
TopRefCenterSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_center_vertical');
|
||||
TopRefBottomSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_top_bottom');
|
||||
BottomRefTopSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_top_bottom');
|
||||
BottomRefCenterSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_center_vertical');
|
||||
BottomRefBottomSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_bottom');
|
||||
Suffix:=GetSuffix;
|
||||
|
||||
LeftRefLeftSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_left_left'+Suffix);
|
||||
LeftRefCenterSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_left_center'+Suffix);
|
||||
LeftRefRightSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_left_right'+Suffix);
|
||||
RightRefLeftSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_right_left'+Suffix);
|
||||
RightRefCenterSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_right_center'+Suffix);
|
||||
RightRefRightSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_right_right'+Suffix);
|
||||
TopRefTopSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_top_top'+Suffix);
|
||||
TopRefCenterSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_top_center'+Suffix);
|
||||
TopRefBottomSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_top_bottom'+Suffix);
|
||||
BottomRefTopSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_bottom_top'+Suffix);
|
||||
BottomRefCenterSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_bottom_center'+Suffix);
|
||||
BottomRefBottomSpeedButton.LoadGlyphFromResourceName(HInstance, 'anchor_bottom_bottom'+Suffix);
|
||||
end;
|
||||
|
||||
procedure TAnchorDesigner.CreateSideControls;
|
||||
|
||||
@ -11,6 +11,45 @@ Creative Commons. Author and source mentioned.
|
||||
|
||||
Following images were created by FTurtle:
|
||||
|
||||
designer directory:
|
||||
|
||||
anchor_bottom_bottom.png
|
||||
anchor_bottom_bottom_150.png
|
||||
anchor_bottom_bottom_200.png
|
||||
anchor_bottom_center.png
|
||||
anchor_bottom_center_150.png
|
||||
anchor_bottom_center_200.png
|
||||
anchor_bottom_top.png
|
||||
anchor_bottom_top_150.png
|
||||
anchor_bottom_top_200.png
|
||||
anchor_left_center.png
|
||||
anchor_left_center_150.png
|
||||
anchor_left_center_200.png
|
||||
anchor_left_left.png
|
||||
anchor_left_left_150.png
|
||||
anchor_left_left_200.png
|
||||
anchor_left_right.png
|
||||
anchor_left_right_150.png
|
||||
anchor_left_right_200.png
|
||||
anchor_right_center.png
|
||||
anchor_right_center_150.png
|
||||
anchor_right_center_200.png
|
||||
anchor_right_left.png
|
||||
anchor_right_left_150.png
|
||||
anchor_right_left_200.png
|
||||
anchor_right_right.png
|
||||
anchor_right_right_150.png
|
||||
anchor_right_right_200.png
|
||||
anchor_top_bottom.png
|
||||
anchor_top_bottom_150.png
|
||||
anchor_top_bottom_200.png
|
||||
anchor_top_center.png
|
||||
anchor_top_center_150.png
|
||||
anchor_top_center_200.png
|
||||
anchor_top_top.png
|
||||
anchor_top_top_150.png
|
||||
anchor_top_top_200.png
|
||||
|
||||
menu directory:
|
||||
|
||||
menu_clear_all_bookmarks.png
|
||||
|
||||
BIN
images/designer/anchor_bottom_bottom.png
Normal file
|
After Width: | Height: | Size: 242 B |
BIN
images/designer/anchor_bottom_bottom_150.png
Normal file
|
After Width: | Height: | Size: 322 B |
BIN
images/designer/anchor_bottom_bottom_200.png
Normal file
|
After Width: | Height: | Size: 664 B |
BIN
images/designer/anchor_bottom_center.png
Normal file
|
After Width: | Height: | Size: 362 B |
BIN
images/designer/anchor_bottom_center_150.png
Normal file
|
After Width: | Height: | Size: 545 B |
BIN
images/designer/anchor_bottom_center_200.png
Normal file
|
After Width: | Height: | Size: 688 B |
BIN
images/designer/anchor_bottom_top.png
Normal file
|
After Width: | Height: | Size: 289 B |
BIN
images/designer/anchor_bottom_top_150.png
Normal file
|
After Width: | Height: | Size: 433 B |
BIN
images/designer/anchor_bottom_top_200.png
Normal file
|
After Width: | Height: | Size: 542 B |
BIN
images/designer/anchor_left_center.png
Normal file
|
After Width: | Height: | Size: 370 B |
BIN
images/designer/anchor_left_center_150.png
Normal file
|
After Width: | Height: | Size: 550 B |
BIN
images/designer/anchor_left_center_200.png
Normal file
|
After Width: | Height: | Size: 718 B |
BIN
images/designer/anchor_left_left.png
Normal file
|
After Width: | Height: | Size: 338 B |
BIN
images/designer/anchor_left_left_150.png
Normal file
|
After Width: | Height: | Size: 323 B |
BIN
images/designer/anchor_left_left_200.png
Normal file
|
After Width: | Height: | Size: 666 B |
|
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 297 B |
BIN
images/designer/anchor_left_right_150.png
Normal file
|
After Width: | Height: | Size: 434 B |
BIN
images/designer/anchor_left_right_200.png
Normal file
|
After Width: | Height: | Size: 538 B |
BIN
images/designer/anchor_right_center.png
Normal file
|
After Width: | Height: | Size: 372 B |
BIN
images/designer/anchor_right_center_150.png
Normal file
|
After Width: | Height: | Size: 553 B |
BIN
images/designer/anchor_right_center_200.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
images/designer/anchor_right_left.png
Normal file
|
After Width: | Height: | Size: 297 B |
BIN
images/designer/anchor_right_left_150.png
Normal file
|
After Width: | Height: | Size: 429 B |
BIN
images/designer/anchor_right_left_200.png
Normal file
|
After Width: | Height: | Size: 540 B |
BIN
images/designer/anchor_right_right.png
Normal file
|
After Width: | Height: | Size: 342 B |
BIN
images/designer/anchor_right_right_150.png
Normal file
|
After Width: | Height: | Size: 329 B |
BIN
images/designer/anchor_right_right_200.png
Normal file
|
After Width: | Height: | Size: 667 B |
|
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 289 B |
BIN
images/designer/anchor_top_bottom_150.png
Normal file
|
After Width: | Height: | Size: 434 B |
BIN
images/designer/anchor_top_bottom_200.png
Normal file
|
After Width: | Height: | Size: 544 B |
BIN
images/designer/anchor_top_center.png
Normal file
|
After Width: | Height: | Size: 361 B |
BIN
images/designer/anchor_top_center_150.png
Normal file
|
After Width: | Height: | Size: 545 B |
BIN
images/designer/anchor_top_center_200.png
Normal file
|
After Width: | Height: | Size: 688 B |
BIN
images/designer/anchor_top_top.png
Normal file
|
After Width: | Height: | Size: 343 B |
BIN
images/designer/anchor_top_top_150.png
Normal file
|
After Width: | Height: | Size: 330 B |
BIN
images/designer/anchor_top_top_200.png
Normal file
|
After Width: | Height: | Size: 674 B |
@ -218,14 +218,42 @@ designer/add_sep_above.png
|
||||
designer/add_sep_below.png
|
||||
designer/add_submenu_right.png
|
||||
designer/add_submenu_below.png
|
||||
designer/anchor_bottom.png
|
||||
designer/anchor_center_horizontal.png
|
||||
designer/anchor_center_vertical.png
|
||||
designer/anchor_left.png
|
||||
designer/anchor_bottom_bottom.png
|
||||
designer/anchor_bottom_bottom_150.png
|
||||
designer/anchor_bottom_bottom_200.png
|
||||
designer/anchor_bottom_center.png
|
||||
designer/anchor_bottom_center_150.png
|
||||
designer/anchor_bottom_center_200.png
|
||||
designer/anchor_bottom_top.png
|
||||
designer/anchor_bottom_top_150.png
|
||||
designer/anchor_bottom_top_200.png
|
||||
designer/anchor_left_center.png
|
||||
designer/anchor_left_center_150.png
|
||||
designer/anchor_left_center_200.png
|
||||
designer/anchor_left_left.png
|
||||
designer/anchor_left_left_150.png
|
||||
designer/anchor_left_left_200.png
|
||||
designer/anchor_left_right.png
|
||||
designer/anchor_right.png
|
||||
designer/anchor_top.png
|
||||
designer/anchor_left_right_150.png
|
||||
designer/anchor_left_right_200.png
|
||||
designer/anchor_right_center.png
|
||||
designer/anchor_right_center_150.png
|
||||
designer/anchor_right_center_200.png
|
||||
designer/anchor_right_left.png
|
||||
designer/anchor_right_left_150.png
|
||||
designer/anchor_right_left_200.png
|
||||
designer/anchor_right_right.png
|
||||
designer/anchor_right_right_150.png
|
||||
designer/anchor_right_right_200.png
|
||||
designer/anchor_top_bottom.png
|
||||
designer/anchor_top_bottom_150.png
|
||||
designer/anchor_top_bottom_200.png
|
||||
designer/anchor_top_center.png
|
||||
designer/anchor_top_center_150.png
|
||||
designer/anchor_top_center_200.png
|
||||
designer/anchor_top_top.png
|
||||
designer/anchor_top_top_150.png
|
||||
designer/anchor_top_top_200.png
|
||||
designer/align.png
|
||||
designer/mirror_horizontal.png
|
||||
designer/mirror_vertical.png
|
||||
|
||||