|
|
От: |
sidorov18
|
|
| Дата: | 24.11.10 07:40 | ||
| Оценка: | |||
IColorPtr get_black() {
P> IColorPtr ret(CLSID_RgbColor);
ret->>SetRed(0);
ret->>SetGreen(0);
ret->>Blue(0);
P> return ret;
P>}
P>void foo() {
P>...
P> static const IColorPtr black_color = get_black();
P>...
P>}