1 | protected Display display;↵ | | 1 | protected Display display;↵
|
2 | protected HashMap<Collection<?>, Color> table = new HashMap<Collection<?>, Color>(10);↵ | | 2 | protected HashMap<Collection<?>, Font> table = new HashMap<Collection<?>, Font>(10);↵
|
|
3 | public ExtendedColorRegistry()↵ | | 3 | public ExtendedFontRegistry()↵
|
4 | {↵ | | 4 | {↵
|
5 | display = Display.getCurrent();↵ | | 5 | display = Display.getCurrent();↵
|
6 | hookDisplayDispose(display);↵ | | 6 | hookDisplayDispose(display);↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public ExtendedColorRegistry(Display display)↵ | | 8 | public ExtendedFontRegistry(Display display)↵
|
9 | {↵ | | 9 | {↵
|
10 | this.display = display;↵ | | 10 | this.display = display;↵
|
11 | hookDisplayDispose(display); | | 11 | hookDisplayDispose(display);
|