#573 ResouceImage class, the new() method should only need 1 argument

ooDialog.4.2.4
pending
Mark Miesfeld
ooDialog (102)
complete
1
2013-12-29
2013-12-24
Mark Miesfeld
No

The new method of the ResourceImage class currently uses 1 required and 1 optional argument to specify which resource image is to used to instantiate the ResourceImage object. It is not necessary to use 2 arguments. One argument is sufficient.

The new() method should be enhanced to only need the first argument. This would simplify its use for the programmer. The original argument meanings would still be supported for backwards compatibility, but for programmers writing new code, the new meanings for the first arg will make it easier.

Note: the code and testing has already been done, just opening this so that the doc is not forgotten.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2013-12-29

    • status: accepted --> pending
    • Pending work items: doc --> complete
    • Milestone: ooDialog.4.2.3 --> ooDialog.4.2.4
     


Anonymous


Cancel   Add attachments