SL_DrawIconAsTemplate


NAME
SL_DrawIconAsTemplate -- draws an "icon" as a though it were a template.

SYNOPSIS
SL_DrawIconAsTemplate(winhandle, id, x, y);
A0 D0 D1 D2

void SL_DrawIconAsTemplate(WINHANDLE, UWORD, WORD, WORD);

FUNCTION
Draws the icon defined by the resource id (id) at the specified
location (x,y) as though it were a template. That is it "obeys"
the rules a template follows, such as the foreground and background
pens, and the draw mode.

Only the first "plane" of the icon is drawn.

INPUTS
winhandle - as returned by SL_CreateWindowA.
id - the resource id of the icon to draw.
x,y - the upper left corner of where the icon will be drawn.

SEE ALSO
SL_DrawIcon, SL_DrawTemplate.

 

SL_DrawIconAsTemplate  Command Section By Type  url:SL_DrawIconAsTemplate
  created:2008-03-01 23:36:35   last updated:2008-03-01 23:36:35
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_DrawIconAsTemplate
There are no user contributed comments for this page.