Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Talk:Paint tool integration

From MoodleDocs
Revision as of 02:23, 2 August 2009 by Tim Hunt (talk | contribs) (New page: Re: ''An additional vector of PaintWeb integration is Moodleforms, something like '''$mform->addElement('paintweb', 'targetInputElement', options)'''.'' Just a little point about API. I t...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Re: An additional vector of PaintWeb integration is Moodleforms, something like $mform->addElement('paintweb', 'targetInputElement', options).

Just a little point about API. I think that 'paintweb' is an implementation detail. It would be better to call the element something like 'sketch'. Also, the details of the API should try not to assume that the drawing app used is paintweb. Presumbaly, from a programmer's point of view, it should be just like a file upload control where the use can choose a single image file to upload (although the UI will be very different.--Tim Hunt 02:23, 2 August 2009 (UTC)