|
|
1.1 root 1: #import "drawundo.h"
2:
3: @interface FillGraphicsChange(PrivateMethods)
4:
5: - (BOOL)subsumeIdenticalChange:change;
6:
7: @end
8:
9: @implementation FillGraphicsChange
10:
11: - initGraphicView:aGraphicView
12: {
13: return [self initGraphicView:aGraphicView fill:-1];
14: }
15:
16: - initGraphicView:aGraphicView fill:(int)fillValue
17: {
18: [super initGraphicView:aGraphicView];
19: fill = fillValue;
20: return self;
21: }
22:
23: - (const char *)changeName
24: {
25: return NXLocalStringFromTable("Operations", "Fill", NULL, "The operation of filling a graphical entity's interior with a gray or color.");
26: }
27:
28: - changeDetailClass
29: {
30: return [FillChangeDetail class];
31: }
32:
33: - (BOOL)subsumeIdenticalChange:change
34: {
35: return YES;
36: }
37:
38: - (int)fill
39: {
40: return fill;
41: }
42:
43: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.