Wallpaper Class Reference

#include <wallpaper.h>

List of all members.


Detailed Description

Handles organizing and choosing of wallpapers.

Definition at line 30 of file wallpaper.h.


Static Public Member Functions

static void loadWallpapers ()
 Reads the folder that contains wallpapers and organizes the wallpapers found by area, width, and height.
static std::string getWallpaper (int width, int height)
 Returns the larget wallpaper for the given resolution, or the default wallpaper if none are found.

Member Function Documentation

void Wallpaper::loadWallpapers (  )  [static]

Reads the folder that contains wallpapers and organizes the wallpapers found by area, width, and height.

Definition at line 54 of file wallpaper.cpp.

std::string Wallpaper::getWallpaper ( int  width,
int  height 
) [static]

Returns the larget wallpaper for the given resolution, or the default wallpaper if none are found.

Parameters:
width the desired width
height the desired height
Returns:
the file to use, or empty if no wallpapers are useable

Definition at line 93 of file wallpaper.cpp.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5