Broken/Paint tool integration

Från MoodleDocs
Version från den 2 augusti 2009 kl. 02.23 av Tim Hunt (diskussion | bidrag) (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...)
(skillnad) ← Äldre version | Nuvarande version (skillnad) | Nyare version → (skillnad)
Hoppa till:navigering, sök

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)