Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>_gframe()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _gFrame()
 Draw a frame with a 3-D look
------------------------------------------------------------------------------
 C Prototype

     #include "llibg.api"
     void _gFrame(
                   int iLeft,
                   int iTop,
                   int iRight,
                   int iBottom,
                   DWORD dwBackgroundColor,
                   DWORD dwBrightColor,
                   DWORD dwDarkColor,
                   int iTopWidth,
                   int iLeftWidth,
                   int iBottomWidth,
                   int iRightWidth,
                   int iMode,
                   BOOL bFilled
                  )

 Arguments

     iLeft is the pixel-based X coordinate of the top left corner of the
     frame.

     iTop is the pixel-based Y coordinate of the top left corner of the
     frame.

     iRight is the pixel-based X coordinate of the bottom right corner of
     the frame.

     iBottom is the pixel-based Y coordinate of the bottom right corner
     of the frame.

     dwBackgroundColor is the frame border's background color.

     dwBrightColor is the frame border's bright color.

     dwDarkColor is the frame border's dark color.

     The range of valid values for all color parameters is limited to the
     number of colors available in the selected video mode.  For example, in
     16-color modes, valid values are between zero and 15, and in 256-color
     modes, valid values are between zero and 255.

     iTopWidth is the thickness of the top frame border.

     iLeftWidth is the thickness of the left frame border.

     iBottomWidth is the thickness of the bottom frame border.

     iRightWidth is the thickness of the right frame border.

     iMode is the display mode (see _gEllipse() for a table of possible
     values).

     bFilled is a flag that you specify as true (.T.) to draw a filled
     frame.

 Notes

     .  Restrictions:  You cannot use this function unless you have
        set the screen to one of the graphic modes using _gModeSet().  This
        function respects the screen clipping region as set by _gClipSet().

 Files   Library is LLIBG.LIB, header file is Llibg.api.


See Also: _gClipSet() _gEllipse() _gLine() _gModeSet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson