#include "camtypes.h"
#include "cartctl.h"
#include "drawctl.h"
#include "colourmat.h"
Go to the source code of this file.
Classes | |
class | CamResourceFixNameEntry |
Defines | |
#define | PRELOAD_BITMAPS 0 |
#define | new CAM_DEBUG_NEW |
#define | CRFNH_BUCKETS 1024 |
Converts a textual resource identified (_R(IDS_BLOBBY) or whatever) to a numeric resource ID. This ALWAYS succeeds as it creates a new one if there is not one in the current table. Can be called from static initialization phase so BE CAREFUL with this call. No fancy TRACE() stuff etc. please. Converts a ResourceID to a text string, returning a default string on failure Converts a ResourceID to a text string, returning NULL on failure Converts a ResourceID to an object name, returning a default string on failure Converts a ResourceID to an object name, returning NULL on failure. | |
#define | FNOMAP(x, y) CamResourceFixNameEntry::Find(_T(x),_T(y)) |
Renames some of the resources from Windows to wx Style This must match the mapping in rc2xml.pl. This allows wx to do intelligent things with (say) the _R(ID_OK) button on dialogs, but for us to still be able to use _R(IDOK) in Camelot rather than having to write _R(wxID_OK) which is actually what we mean (but that would be unkernel-like. Note this is called at static init time so the obvious route of using a wxHash isn't going to work, sadly. | |
#define | MAX_TAG_LENGTH 1024 |
|
Converts a textual resource identified (_R(IDS_BLOBBY) or whatever) to a numeric resource ID. This ALWAYS succeeds as it creates a new one if there is not one in the current table. Can be called from static initialization phase so BE CAREFUL with this call. No fancy TRACE() stuff etc. please. Converts a ResourceID to a text string, returning a default string on failure Converts a ResourceID to a text string, returning NULL on failure Converts a ResourceID to an object name, returning a default string on failure Converts a ResourceID to an object name, returning NULL on failure.
Definition at line 247 of file camresource.cpp. |
|
Renames some of the resources from Windows to wx Style This must match the mapping in rc2xml.pl. This allows wx to do intelligent things with (say) the _R(ID_OK) button on dialogs, but for us to still be able to use _R(IDOK) in Camelot rather than having to write _R(wxID_OK) which is actually what we mean (but that would be unkernel-like. Note this is called at static init time so the obvious route of using a wxHash isn't going to work, sadly.
Definition at line 352 of file camresource.cpp. |
|
|
|
Definition at line 118 of file camresource.cpp. |
|
Definition at line 113 of file camresource.cpp. |