|
|
1.1 root 1: #import "drawundo.h"
2:
3: @interface SendToBackGraphicsChange(PrivateMethods)
4:
5: - redoDetails;
6:
7: @end
8:
9: @implementation SendToBackGraphicsChange
10:
11: - (const char *)changeName
12: {
13: return NXLocalStringFromTable("Operations", "Send To Back", NULL, "The operation of sending all the selected graphical entities to the back of (behind) all other graphical entities.");
14: }
15:
16: - redoDetails
17: {
18: int count, i;
19: id detail, graphic;
20: List *allGraphics;
21:
22: allGraphics = [graphicView graphics];
23: count = [changeDetails count];
24: for (i = 0; i < count; i++) {
25: detail = [changeDetails objectAt:i];
26: graphic = [detail graphic];
27: [allGraphics removeObject:graphic];
28: [allGraphics addObject:graphic];
29: }
30:
31: return self;
32: }
33:
34: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.