37,7 → 37,13 |
¬¥¨âì ¢á¥ æ¢¥â 1 2"; |
?define T_MENU_IMAGE "ª®ª " |
?define T_TEST_ICON "஢¥à¨âì ¨ª®ªã" |
?define T_TITLE "Icon Editor 0.60 Alpha" |
?define T_TITLE "¥¤ ªâ®à ¨ª®®ª 0.60 Alpha" |
?define T_UNIC_COLORS_COUNT "'¨ª «ìëå 梥⮢: %i.' -I" |
?define T_TOO_BIG_IMAGE_FOR_PREVIEW "'IconEdit |
§®¡à ¦¥¨¥ ᫨誮¬ ¡®«ì讥 ¤«ï ¯à¥¤¯à®á¬®âà !' -tE" |
?define T_ERROR_CROP_TOOL "'«ï ®¡à¥§ª¨ ¨§®¡à ¦¥¨ï ¢ ç «¥ 㦮 ¢ë¤¥«¨âì ®¡« áâì.' -W" |
?define T_ERROR_IMA_ICONEDIT "'â® ¯à®á⮠। ªâ®à ¨ª®®ª, ¢ë¡à ®¥ |
¨§®¡à ¦¥¨¥ ᫨誮¬ ¢¥«¨ª® ¤«ï ¥£®!' -E" |
#else |
char image_menu_items[] = |
"Count colors used |
44,7 → 50,13 |
Replace all colors equal to 1 by 2"; |
?define T_MENU_IMAGE "Icon" |
?define T_TEST_ICON "Test Icon" |
?define T_TITLE "¥¤ ªâ®à ¨ª®®ª 0.60 Alpha" |
?define T_TITLE "Icon Editor 0.60 Alpha" |
?define T_UNIC_COLORS_COUNT "'Image has %i unique colors.' -I" |
?define T_TOO_BIG_IMAGE_FOR_PREVIEW "'IconEdit |
Image is too big for preview!' -tE" |
?define T_ERROR_CROP_TOOL "'You need to select something before using crop tool.' -W" |
?define T_ERROR_IMA_ICONEDIT "'Hey, this is just an icon editor, |
selected image is too big to open!' -E" |
#endif |
|
|
181,7 → 193,7 |
Libimg_LoadImage(#open_image, #param); |
|
if (open_image.w*open_image.h>MAX_CELL_SIZE*MAX_CELL_SIZE) { |
notify("'Hey, this is just an icon editor,\nselected image is too big to open!' -E"); |
notify(T_ERROR_IMA_ICONEDIT); |
ExitProcess(); |
} |
else { |
600,7 → 612,7 |
void ShowWindow_TestIcon() |
{ |
if (image.rows>=preview_size) || (image.columns>=preview_size) { |
notify("'IconEdit\nImage is too big for preview!' -tE"); |
notify(T_TOO_BIG_IMAGE_FOR_PREVIEW); |
return; |
} |
loop() switch(WaitEvent()) |
720,7 → 732,7 |
DrawWindow(); |
} |
else { |
notify("'You need to select something before using crop tool.' -W"); |
notify(T_ERROR_CROP_TOOL); |
} |
} |
|
756,7 → 768,7 |
} |
if (unic) resi++; |
} |
notify( sprintf(#res_str, "'Image has %i unique colors.' -I", resi) ); |
notify( sprintf(#res_str, T_UNIC_COLORS_COUNT, resi) ); |
} |
|
void EventReplaceImageColors(dword c1, c2) |