4 Nov 2008 02:36
Re: Missing get-color-key
On Mon, 03 Nov 2008 16:37:36 -0800, Elliott Slaughter <elliottslaughter@...> wrote: > On Mon, Nov 3, 2008 at 3:37 PM, Luke Crook <luke@...> wrote: > >> (color-key-p *blah*) >> (setf (color-key-p *blah*) *color*) >> > > So color-key-p returns the color-key, right? Correct. > Why the "-p"; is it a > predicate? (enable-color-key-p is a predicate, right?) I have been going back and forth on appending the "-p" on the defsetf form. Anyone have any feelings on; (setf (color-key *blah*) *color*), versus (setf (color-key-p *blah*) *color*) Same goes for enable-color-key-p, enable-alpha-p, surface-alpha-p and rle-accel-p as these all have defsetf forms. - Luke
RSS Feed