#include <algorithm>
#include <stdarg.h>
#include <tchar.h>
#include <windows.h>
#include <commctrl.h>
#include "Vaca/Enum.h"
Namespaces | |
namespace | Vaca |
Classes | |
struct | Vaca::OrientationEnum |
It's like a namespace for Orientation. More... | |
struct | Vaca::TextAlignEnum |
It's like a namespace for TextAlign. More... | |
struct | Vaca::VerticalAlignEnum |
It's like a namespace for VerticalAlign. More... | |
struct | Vaca::SideEnum |
It's like a namespace for Side. More... | |
struct | Vaca::SidesEnumSet |
It's like a namespace for Sides. More... | |
struct | Vaca::CardinalDirectionEnum |
It's like a namespace for CardinalDirection. More... | |
Defines | |
#define | VACA_VERSION 0 |
#define | VACA_SUB_VERSION 0 |
#define | VACA_WIP_VERSION 7 |
#define | VACA_MAIN() |
Defines the name and arguments that the main routine of the program should contain. | |
#define | VACA_DLL __declspec(dllimport) |
#define | VACA_MIN(x, y) ((x) < (y) ? (x): (y)) |
Returns the minimum of x and y. | |
#define | VACA_MAX(x, y) ((x) < (y) ? (y): (x)) |
Returns the maximum of x and y. | |
#define | VACA_CLAMP(x, low, high) |
Limits the posible values of x to the speficied range. | |
Typedefs | |
typedef TCHAR | Vaca::Character |
A character. | |
typedef unsigned int | Vaca::CommandId |
An identifier for an application's Command. | |
typedef unsigned int | Vaca::ThreadId |
An identifier for a Thread. | |
typedef MSG | Vaca::Message |
A message that comes from the operating system. | |
typedef Enum< OrientationEnum > | Vaca::Orientation |
Horizontal or vertical orientation. | |
typedef Enum< TextAlignEnum > | Vaca::TextAlign |
Horizontal alignment. | |
typedef Enum< VerticalAlignEnum > | Vaca::VerticalAlign |
Vertical alignment. | |
typedef Enum< SideEnum > | Vaca::Side |
A side. | |
typedef EnumSet< SidesEnumSet > | Vaca::Sides |
A set of sides. | |
typedef Enum < CardinalDirectionEnum > | Vaca::CardinalDirection |
A cardinal direction. | |
Functions | |
template<typename ContainerType> | |
void | Vaca::remove_from_container (ContainerType &container, typename ContainerType::const_reference element) |
Removes an element from the specified STL container. |
#define VACA_CLAMP | ( | x, | |||
low, | |||||
high | ) |
Value:
(((x) > (high)) ? (high): \ (((x) < (low)) ? (low): \ (x)))
If x is great than high, then high is returned, if x is less than low, then low is returned. In other case, x is in the range, and x is returned.
#define VACA_DLL __declspec(dllimport) |
#define VACA_MAIN | ( | ) |
Value:
PASCAL WinMain(HINSTANCE hInstance, \
HINSTANCE hPrevInstance, \
LPSTR lpCmdLine, \
int nCmdShow)
WinMain
(W32). In other operating systems this could be "main(int argc, char* argv[])"
. #define VACA_MAX | ( | x, | |||
y | ) | ((x) < (y) ? (y): (x)) |
Returns the maximum of x and y.
#define VACA_MIN | ( | x, | |||
y | ) | ((x) < (y) ? (x): (y)) |
Returns the minimum of x and y.
#define VACA_SUB_VERSION 0 |
#define VACA_VERSION 0 |
#define VACA_WIP_VERSION 7 |