Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>fg_box_height</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
fg_box_height

Usage

   #include <fg.h>
   fg_coord_t far fg_box_height(fg_const_pbox_t b);

Description

   Returns the height of the box in pixels.

Example 

   void status_line(char *status_string)
   {
   fg_box_t status_box;


   fg_box_cpy(status_box, fg.displaybox);
   status_box [FG_Y1] = fg.displaybox [FG_Y2] -
   fg_box_height(fg.charbox);

   /* Clear the old string. */
   fg_fillbox(FG_BLACK, FG_MODE_SET, ~0, status_box);
   fg_puts(FG_WHITE, FG_MODE_SET, ~0, FG_ROT0, 0, status_box[FG_Y1],
           status_string, status_box);
   }





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