Бывает надо некий набор картинок для дальнейшего в работе программы может кому пригодится. И потом пусть развивается HiAsm
Код:
Add(ChildForm,9382442,1036,434) { @Hint=#6:Иконки| AddHint(36,34,53,13,@Hint) } BEGIN_SDK Add(EditMulti,16723824,21,21) { EventCount=1 WorkCount=1 DataCount=2 VarCount=1 Width=1567 Height=942 link(doWork1,1970566:doEvent1,[(63,27)(63,111)]) link(Var1,11343941:Value,[(27,788)(1203,788)]) } Add(MainForm,9780932,287,119) { Left=35 Top=105 Width=845 Height=448 Visible=1 Caption="Иконки" BorderStyle=3 Point(doVisible) Point(doLeft) Point(doTop) link(onCreate,15247605:doEvent1,[]) } Add(Button,11095672,147,350) { Left=10 Top=370 Width=155 Height=45 Caption="Загрузить" link(onClick,3173402:doEvent1,[]) } Add(Img_Loader,16625239,490,252) { Point(ImageWidth) Point(ImageHeight) Point(doSize) Point(onSize) link(onLoad,43081:doEvent1,[]) } Add(ODialog,15609379,238,364) { Filter="JPG|*.JPG|JPEG|*.JPEG|BMP|*.BMP|GIF|*.GIF|PNG|*.PNG|Все файлы|*.*" Title="Открыть изображения" FileName="" link(onExecute,9685857:doEvent1,[]) } Add(Resize,2269444,721,511) { link(onResult,7793675:doEvent2,[(777,517)(777,384)(611,384)(611,258)]) link(Bitmap,15389154:Var2,[(727,397)(741,397)]) link(Width,5505895:Result,[(734,485)(601,485)(601,564)(496,564)]) link(Height,735484:Result,[(741,471)(638,471)(638,577)(573,577)]) } Add(Math,5505895,490,511) { OpType=3 ResultType=0 link(onResult,735484:doOperation,[]) link(Op1,11221820:Var2,[]) link(Op2,15480789:Var2,[]) } Add(Math,735484,567,511) { OpType=3 ResultType=0 link(onResult,2269444:doResize,[]) link(Op1,1902085:Var3,[(573,467)]) link(Op2,15480789:Var3,[(580,495)]) } Add(PictureStream,8398238,882,490) { link(onLoad,10677704:doEvent2,[(933,496)(933,332)(660,332)(660,237)]) link(FileName,9061546:FString,[(888,460)(909,460)]) link(Bitmap,15389154:Var3,[(895,278)]) } Add(GetDataEx,15389154,735,273) { link(Data,7446373:ImageBitmap,[]) } Add(Dir,6147819,840,112) { Point(Dir) link(Dir,15200959:Result,[(846,104)(888,104)]) } Add(FormatStr,6925983,889,210) { DataCount=4 Mask="%1%2%3%4" Point(FString) link(onFString,7472253:doValue,[]) link(Str1,13382286:Var2,[(895,202)(846,202)]) link(Str2,2530652:Var2,[(902,149)(937,149)]) link(Str3,11760268:Var3,[(909,198)(993,198)]) link(Str4,14033924:Value,[(916,184)(958,184)]) } Add(Hub,12699060,791,252) { InCount=2 OutCount=5 link(onEvent1,15200959:doStrCat,[(814,258)(814,69)]) link(onEvent2,6925983:doString,[(847,265)(847,216)]) link(onEvent3,9904554:doEvent1,[(829,272)(829,412)]) link(onEvent4,8398238:doSave,[(843,279)(843,503)]) } Add(Memory,14033924,952,119) { Default=String(_Image.jpg) } Add(Math,6122461,413,511) { @Hint=#34:Здесь можно менять размер картинки| @Color=16777130 OpType=3 Op2=31 link(onResult,5505895:doOperation,[]) link(Op1,11221820:Var3,[(419,481)]) AddHint(-155,55,167,26,@Hint) } Add(GetDataEx,11221820,490,476) { link(Data,5475661:Var2,[]) } Add(Image,7446373,735,182) { Left=350 Top=119 Width=64 Height=64 ViewStyle=0 Point(onMouseEnter) } Add(StringTable,7429734,1127,357) { Left=5 Top=10 Width=340 Height=355 Columns=#9:Иконка=50|21:Путь малая иконка=150|23:Путь большая иконка=150| Redaction=1 StaticColumn=0 Point(Index) Point(doLoad) Point(doSave) Point(FileName) Point(onDblClick) link(onClick,7751649:doEvent1,[]) link(FileName,7792740:FString,[]) link(onDblClick,233049:doEvent1,[(1171,370)(1171,436)(191,436)(191,503)]) } Add(FormatStr,13953274,959,301) { DataCount=3 Mask="%1;%2;%3" Point(FString) link(onFString,4490979:doEvent1,[(1013,307)(1013,279)]) link(Str1,11760268:Var2,[(965,288)(993,288)]) link(Str2,2832856:Var3,[(972,264)]) link(Str3,10884517:Var3,[(979,280)(949,280)(949,782)]) } Add(Hub,9685857,301,364) { OutCount=4 link(onEvent1,16625239:doLoad,[(406,370)(406,258)]) link(onEvent2,6122461:doOperation,[(364,377)(364,517)]) link(onEvent3,11577844:doOperation,[(343,384)(343,769)]) link(onEvent4,13953274:doString,[(647,391)(647,307)]) } Add(GetDataEx,2832856,889,259) { link(Data,7472253:Value,[(895,251)(1000,251)]) } Add(Memory,5586543,931,56) { Default=String(JPG_Dishes\) } Add(StrCat,15200959,882,63) { link(onStrCat,6147819:doDir,[(926,69)(926,93)(828,93)(828,118)]) link(Str1,11192303:Var1,[(888,51)(867,51)]) link(Str2,2530652:Var1,[(895,51)(915,51)(915,110)]) } Add(GetDataEx,13382286,840,161) { link(Data,6147819:CurrentDir,[]) } Add(GetDataEx,2530652,931,105) { link(Data,5586543:Value,[]) } Add(GetDataEx,11760268,987,266) { Angle=1 link(Data,12422194:Count,[(1203,271)]) } Add(Math,3662046,469,763) { OpType=3 ResultType=0 link(onResult,7088721:doOperation,[]) link(Op1,14027286:Var2,[]) link(Op2,8542955:Var2,[]) } Add(Math,7088721,546,763) { OpType=3 ResultType=0 link(onResult,9642939:doResize,[]) link(Op1,1902085:Var2,[(552,610)(531,610)]) link(Op2,8542955:Var3,[(559,747)]) } Add(GetDataEx,14027286,469,728) { link(Data,5475661:Var1,[(475,383)]) } Add(GetDataEx,5475661,490,378) { link(Data,16625239:ImageWidth,[(496,331)(503,331)]) } Add(GetDataEx,15480789,497,490) { Angle=3 link(Data,6122461:Result,[(461,495)(461,555)(419,555)]) } Add(GetDataEx,8542955,476,742) { Angle=3 link(Data,11577844:Result,[(430,747)(430,807)(377,807)]) } Add(GetDataEx,1902085,525,462) { Angle=3 link(Data,16625239:ImageHeight,[(510,467)]) } Add(Resize,9642939,742,763) { link(onResult,1193007:doEvent2,[(786,769)(786,685)(618,685)(618,650)]) link(Bitmap,1809766:Var2,[]) link(Width,3662046:Result,[(755,751)(608,751)(608,808)(475,808)]) link(Height,7088721:Result,[(762,744)(633,744)(633,824)(552,824)]) } Add(Image,15230795,749,623) { Left=425 Top=10 Width=400 Height=400 ViewStyle=0 Point(onMouseEnter) } Add(Hub,1193007,637,637) { InCount=2 link(onEvent1,9994267:doEvent1,[]) link(onEvent2,8103437:doEvent1,[(728,650)(728,727)]) } Add(Hub,7793675,623,245) { InCount=2 link(onEvent1,10677704:doEvent1,[(647,251)(647,230)]) link(onEvent2,12699060:doEvent1,[]) } Add(Hub,43081,553,252) { link(onEvent1,7793675:doEvent1,[(572,258)(572,251)]) link(onEvent2,1193007:doEvent1,[(605,265)(605,643)]) } Add(PictureStream,3792451,889,868) { link(onLoad,9994267:doEvent2,[(940,874)(940,907)(666,907)(666,650)]) link(FileName,9710703:FString,[(895,849)(916,849)]) link(Bitmap,1809766:Var3,[(902,726)]) } Add(Dir,10987515,854,602) { Point(Dir) link(Dir,791250:Result,[(860,594)(909,594)]) } Add(FormatStr,13931445,910,728) { DataCount=4 Mask="%1%2%3%4" Point(FString) link(onFString,5954654:doValue,[]) link(Str1,6832720:Var2,[(916,671)(874,671)]) link(Str2,4696344:Var2,[(923,639)(958,639)]) link(Str3,11760268:Var1,[(930,271)]) link(Str4,16263238:Value,[(937,663)(986,663)]) } Add(Hub,8103437,805,721) { OutCount=5 link(onEvent2,791250:doStrCat,[(861,734)(861,559)]) link(onEvent3,13931445:doString,[(865,741)(865,734)]) link(onEvent4,16297030:doEvent1,[(851,748)(851,811)]) link(onEvent5,3792451:doSave,[(854,755)(854,881)]) } Add(Memory,16263238,980,616) { Default=String(_Image_Big.jpg) } Add(Memory,14135648,952,546) { Default=String(JPG_Dishes\Big\) } Add(StrCat,791250,903,553) { link(onStrCat,10987515:doDir,[(947,559)(947,583)(849,583)(849,608)]) link(Str1,6832720:Var3,[(909,541)(889,541)(889,656)]) link(Str2,4696344:Var1,[(916,541)(936,541)(936,600)]) } Add(GetDataEx,6832720,868,651) { link(Data,10987515:CurrentDir,[(874,643)(860,643)]) } Add(GetDataEx,4696344,952,595) { link(Data,14135648:Value,[]) } Add(GetDataEx,1809766,742,721) { link(Data,15230795:ImageBitmap,[(748,688)(755,688)]) } Add(GetDataEx,10884517,910,777) { link(Data,5954654:Value,[(916,769)(1035,769)]) } Add(Hub,14580386,805,511) { link(onEvent1,8398238:doLoad,[(853,517)(853,496)]) link(onEvent2,3792451:doLoad,[(867,524)(867,874)]) } Add(Hub,7751649,1176,357) { OutCount=5 link(onEvent1,98356:doEvent1,[(1211,363)(1211,356)]) link(onEvent2,467432:doEvent1,[(1195,370)(1195,262)(933,262)(933,223)]) link(onEvent3,5207682:doEvent1,[(1195,377)(1195,559)(954,559)(954,741)]) link(onEvent4,8901926:doSplit,[(1208,384)(1208,524)]) link(onEvent5,14580386:doEvent1,[(1195,391)(1195,454)(793,454)(793,517)]) } Add(MultiStrPart,8901926,1225,518) { Count=3 link(onSplit,7109007:doData,[]) link(Str,7429734:Select,[(1231,488)(1140,488)]) } Add(FormatStr,9061546,903,399) { Mask="%1%2" Point(FString) link(Str1,2832856:Var2,[(909,299)(895,299)]) link(Str2,9806316:Var1,[(916,391)(1052,391)(1052,558)]) } Add(Hub,9904554,854,406) { InCount=2 OutCount=1 link(onEvent1,9061546:doString,[(886,412)(886,405)]) } Add(Memory,7472253,994,210) { } Add(Hub,10677704,672,224) { InCount=2 OutCount=1 link(onEvent1,7446373:doLoad,[(723,230)(723,188)]) } Add(FormatStr,9710703,910,805) { Mask="%1%2" Point(FString) link(Str1,10884517:Var2,[]) link(Str2,12993100:Var2,[(923,789)(1245,789)]) } Add(Hub,16297030,882,805) { InCount=2 OutCount=1 link(onEvent1,9710703:doString,[]) } Add(Memory,5954654,1029,728) { Point(Data) link(Data,13931445:FString,[(1035,716)(975,716)(975,772)(916,772)]) } Add(Hub,11915591,1309,518) { OutCount=3 link(onEvent1,9904554:doEvent2,[(1331,524)(1331,468)(842,468)(842,419)]) link(onEvent2,16297030:doEvent2,[(1328,531)(1328,843)(875,843)(875,818)]) link(onEvent3,11343941:doValue,[(1334,538)(1334,578)(1185,578)(1185,601)]) } Add(Hub,9994267,672,637) { InCount=2 OutCount=1 link(onEvent1,7705166:doInputEvent,[(696,643)(696,615)]) } Add(DoData,7109007,1267,518) { link(onEventData,11915591:doEvent1,[]) } Add(Hub,98356,1232,350) { InCount=2 link(onEvent1,7446373:doClear,[(1251,356)(1251,234)(701,234)(701,195)]) link(onEvent2,15230795:doClear,[(1251,363)(1251,502)(702,502)(702,636)]) } Add(Hub,467432,959,217) { InCount=2 OutCount=1 link(onEvent1,7472253:doClear,[]) } Add(Hub,5207682,987,735) { InCount=2 OutCount=1 link(onEvent1,5954654:doClear,[]) } Add(Button,9189517,1295,441) { Left=350 Top=285 Width=65 Height=35 Caption="Удалить" link(onClick,5587628:doMessage,[]) } Add(Hub,14873805,819,560) { OutCount=3 link(onEvent1,467432:doEvent2,[(881,566)(881,230)]) link(onEvent2,5207682:doEvent2,[(892,573)(892,748)]) link(onEvent3,8901926:doClear,[(986,580)(986,531)]) } Add(Hub,3173402,196,350) { OutCount=3 link(onEvent2,7248604:In,[(238,363)(238,265)]) link(onEvent3,15609379:doExecute,[]) } Add(LineBreak,7392102,707,539) { Caption="Очистка памяти" link(Out,14873805:doEvent1,[(813,545)(813,566)]) Primary=[7248604,-441,-280] } Add(DoData,5701656,1449,448) { link(onEventData,7429734:doDelete,[(1499,454)(1499,406)(1115,406)(1115,377)]) link(Data,7429734:Index,[(1455,418)(1147,418)]) } Add(FileTools,7136112,1449,644) { link(FileName,9806316:Var3,[(1455,558)]) } Add(Hub,1378697,1400,448) { OutCount=5 link(onEvent1,5701656:doData,[]) link(onEvent2,7136112:doDelete,[(1432,461)(1432,664)]) link(onEvent3,11103566:doDelete,[(1423,468)(1423,720)]) link(onEvent4,98356:doEvent2,[(1440,475)(1440,387)(1220,387)(1220,363)]) link(onEvent5,9740094:doEvent2,[(1426,482)(1426,402)(1045,402)(1045,321)]) } Add(GetDataEx,9806316,1232,553) { link(Data,8901926:Part2,[]) } Add(FileTools,11103566,1449,700) { link(FileName,12993100:Var3,[(1455,677)]) } Add(Message,5587628,1351,441) { Message="Прям хотите удалить?" Caption="Удаление" Type=2 Point(onYES) link(onYES,1378697:doEvent1,[]) } Add(GetDataEx,12993100,1239,672) { link(Data,8901926:Part3,[]) } Add(Hub,4490979,1022,273) { OutCount=6 link(onEvent3,1667714:doData,[(1064,293)(1064,181)]) link(onEvent4,7429734:doAdd,[(1103,300)(1103,363)]) link(onEvent5,9740094:doEvent1,[(1049,307)(1049,314)]) } Add(StrList,12422194,1190,175) { Point(doLoad) Point(doSave) link(FileName,7249462:FString,[]) } Add(DoData,1667714,1127,175) { Data=String() link(onEventData,12422194:doAdd,[]) link(Data,7429734:Count,[(1133,168)(1117,168)(1117,328)(1133,328)]) } Add(FormatStr,7249462,1197,126) { DataCount=3 Mask="%1%2%3" Point(FString) link(Str1,8336671:Var1,[(1203,114)(1007,114)]) link(Str2,11857836:Var3,[(1210,110)]) link(Str3,2749583:Value,[]) } Add(GetDataEx,11192303,861,161) { Angle=3 link(Data,13382286:Var3,[]) } Add(Memory,2749583,1211,70) { Default=String(Counter.txt) } Add(Hub,13873093,1155,126) { link(onEvent1,7249462:doString,[]) link(onEvent2,12422194:doLoad,[(1176,139)(1176,209)]) } Add(FormatStr,7792740,1134,315) { DataCount=3 Mask="%1%2%3" Point(FString) link(Str1,8336671:Var3,[(1140,166)]) link(Str2,11857836:Var2,[(1147,215)(1105,215)]) link(Str3,15700747:Value,[]) } Add(Memory,15700747,1148,259) { Default=String(Image.txt) } Add(Hub,2454816,1022,329) { link(onEvent1,7792740:doString,[(1101,335)(1101,321)]) link(onEvent2,7429734:doLoad,[(1057,342)(1057,384)]) } Add(GetDataEx,11857836,1099,105) { Angle=3 link(Data,2530652:Var3,[]) } Add(GetDataEx,8336671,1001,161) { Angle=3 link(Data,11192303:Var3,[]) } Add(Hub,14664673,966,343) { link(onEvent1,13873093:doEvent1,[(1000,349)(1000,132)]) link(onEvent2,2454816:doEvent1,[(1012,356)(1012,335)]) } Add(Hub,9740094,1057,308) { InCount=2 link(onEvent1,12422194:doSave,[(1133,314)(1133,216)]) link(onEvent2,7429734:doSave,[(1102,321)(1102,391)]) } Add(LineBreak,7493847,924,350) { link(Out,14664673:doEvent1,[(960,356)(960,349)]) Primary=[11005179,-539,-210] } Add(Hub,233049,203,497) { InCount=2 link(onEvent1,12407955:In,[]) link(onEvent2,10680625:In,[(224,510)(224,524)]) } Add(LineBreak,11998191,231,140) { Caption="Закр" link(Out,9780932:doClose,[]) Primary=[10680625,0,378] } Add(LineBreak,3220188,1505,21) { Caption="выбрпть" link(Out,16723824:onEvent1,[]) Primary=[12407955,-1267,476] } Add(Memory,11343941,1197,595) { Default=String(0) Point(Data) link(Data,8901926:Part1,[(1203,565)(1231,565)]) } Add(Math,15793035,147,63) { Op2=260 link(onResult,9780932:doLeft,[(226,69)(226,160)]) link(Op1,16723824:Data1,[(153,42)(27,42)]) } Add(Math,8847196,147,140) { Op2=50 link(onResult,9780932:doTop,[(233,146)(233,167)]) link(Op1,16723824:Data2,[(153,80)(34,80)]) } Add(Hub,1970566,105,105) { OutCount=3 link(onEvent1,15793035:doOperation,[(126,111)(126,69)]) link(onEvent2,8847196:doOperation,[(126,118)(126,146)]) link(onEvent3,9780932:doVisible,[(203,125)(203,153)]) } Add(Ini,5712797,553,133) { Section="CheckBox" Key="Dishes_BIG" link(onResult,2398306:doCheck,[(611,139)(611,90)]) link(FileName,7854466:getVar,[]) link(Value,2398306:Checked,[(580,121)(643,121)]) } Add(CheckBox,2398306,637,84) { Left=170 Top=370 Width=175 Hint="Просмотр больших картинок, требуется перезайти" Caption="Просмотр больших картинок" link(onCheck,1787707:doEvent1,[]) } Add(LineBreakEx,7854466,553,84) { Caption="iniFile" Type=2 } Add(Dir,4052869,420,63) { } Add(FormatStr,6714959,434,112) { Mask="%1%2" Point(FString) link(Str1,4052869:TempDir,[]) link(Str2,752534:Value,[(447,107)(468,107)]) } Add(Memory,752534,462,63) { Default=String(Kafe_K.ini) } Add(LineBreakEx,8224413,434,161) { Caption="iniFile" Type=3 link(_Data,6714959:FString,[]) } Add(Hub,15247605,350,133) { OutCount=3 link(onEvent1,6714959:doString,[(413,139)(413,118)]) link(onEvent2,11005179:In,[]) link(onEvent3,5712797:doRead,[(458,153)(458,139)]) } Add(ChanelSwitch,7705166,707,595) { link(onOutEvent1,15230795:doLoad,[(744,601)(744,629)]) } Add(If_else,2552390,637,133) { Op2=Integer(1) link(onTrue,7705166:doSwitchToChanel1,[(745,139)(745,364)(686,364)(686,601)]) link(onFalse,7705166:doSwitchToChanel2,[(737,146)(737,373)(695,373)(695,608)]) } Add(Hub,1787707,693,84) { link(onEvent1,5712797:doWrite,[(728,90)(728,125)(541,125)(541,146)]) link(onEvent2,2552390:doCompare,[(719,97)(719,118)(625,118)(625,139)]) } Add(Math,11577844,371,763) { @Hint=#34:Здесь можно менять размер картинки| @Color=16777130 OpType=3 Op2=400 link(onResult,3662046:doOperation,[]) link(Op1,14027286:Var3,[(377,733)]) AddHint(-117,-89,167,26,@Hint) } Add(InfoTip,15065733,91,35) { Info=#27:Для приятного открытия окна| Width=127 Height=172 } END_SDK