Rev 7274 | Rev 7806 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7274 | Rev 7275 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | { |
77 | { |
78 | int new_rows = atoi(#text_rows); |
78 | int new_rows = atoi(#text_rows); |
79 | int new_columns = atoi(#text_columns); |
79 | int new_columns = atoi(#text_columns); |
80 | if (new_columns>MAX_CELL_SIZE) || (new_rows>MAX_CELL_SIZE) { |
80 | if (new_columns>MAX_CELL_SIZE) || (new_rows>MAX_CELL_SIZE) { |
81 | notify("'Maximum icon size exceeded!\nPlease, try something less or equal to 256x256.' -E"); |
81 | sprintf(#param, |
- | 82 | "'Maximum icon size exceeded! Please, try\nsomething less or equal to %ix%i.' -E", |
|
82 | return; |
83 | MAX_CELL_SIZE, MAX_CELL_SIZE); |
- | 84 | notify(#param); |
|
- | 85 | return; |
|
83 | } |
86 | } |
84 | image.create(new_rows, new_columns); |
87 | image.create(new_rows, new_columns); |
85 | actionsHistory.init(); |
88 | actionsHistory.init(); |
86 | ActivateWindow(GetProcessSlot(Form.ID)); |
89 | ActivateWindow(GetProcessSlot(Form.ID)); |
87 | ExitProcess(); |
90 | DrawEditArea(); |
- | 91 | ExitProcess(); |
|
88 | } |
92 | } |
89 | 93 | ||
Line 90... | Line 94... | ||
90 | void EventTabClick() |
94 | void EventTabClick() |
91 | { |
95 | { |