[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] GUI screen
- From: Elias Pschernig <allefant@xxxxxxxxxx>
- Date: Wed, 29 Dec 2004 13:03:20 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=nNr4FfHK2Dww7xgjNNQcbpkCvb0VAmv9klwDbXFFB6hA9Ys8UZuFG1SGUP/NtE/Nm0ScBhGmacRe4MbW8TA3bMr0n8TE7holJNDlEOftEjPtBlWt+8jGNyyQsoZRiioehh2/vMez1EtIgOo7J07g9cxqZznM3uRW1iUW2BSu/C4=
> +@@BITMAP *@gui_get_screen(void);
> +@xref gui_set_screen
> + This function returns the current bitmap surface the GUI routines will
> + use for drawing.
Could add, for maximum clarity: "This function will never return NULL,
even if NULL was previously passed to gui_set_screen."
> + BITMAP *gui_bmp = gui_get_screen();
> +
> + rectfill(gui_bmp, d->x+1, d->y+1, d->x+d->w-3, d->y+d->h-3, d->bg);
There's 6 spaces in the empty line, should remove them before committing.
> + ASSERT(d);
> +
> + gui_bmp = gui_get_screen();
Same here, and again further down..