Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

tile_resource_painter Class Reference

Painter for background_wnd. Draws a resource (bitmap of a module) tiled. More...

List of all members.

Public Types

typedef SIZE param1

Public Member Functions

 tile_resource_painter (const bg_wnd::res_info &info)
 tile_resource_painter (const bg_wnd::res_info &info, SIZE tile_size)
tile_resource_painterclone () const
void draw (HDC hDC, int cx, int cy)
void tile_size (SIZE tile_size)
SIZE tile_size () const


Detailed Description

Painter for background_wnd. Draws a resource (bitmap of a module) tiled.

See also:
Description of tile_resource_painter

background_wnd


Member Function Documentation

SIZE tile_size  )  const
 

Returns the size of the tiles.

void tile_size SIZE  tile_size  ) 
 

Sets the size of the tiles .

A width and height of 0 means tile_resource_painter should determine the width and height itself (and so the resource is fully displayed




by Steven Weiss. You can contact me at steven11@gmx.de.