bars.cpp File Reference

(r1785/r1386)

#include "camtypes.h"
#include "camelot.h"
#include "oilfiles.h"
#include "camframe.h"
#include "gallery.h"
#include "keymsg.h"
#include "keypress.h"
#include "basebar.h"
#include "product.h"
#include "selector.h"
#include "bubbleid.h"
#include "vkextra.h"
#include "ctrllist.h"
#include "cversion.h"
#include "biasdlg.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define QUOTE   "\""
 Writes the control to the given string This will be in the form of:- Control H "BreakShapes" 0 126 220 V "BreakShapes" 0 126 220.

Functions

static TokenIndex FindToken (const TCHAR *Token)
 Looks up the token index for the given string in the token table.

Variables

static String_256 DefaultBarsConfigPath
static BOOL ShowSystemBars = FALSE
static String_64 BarsVersion
struct {
   TCHAR *   Token
   TCHAR *   Token
   TCHAR *   tag
   INT32   Id
   TCHAR *   Token
   UINT32   Magic
   UINT32   Serial
   wchar_t   Name [BRANDED_NAME_MAX]
   wchar_t   Company [BRANDED_NAME_MAX]
   TCHAR *   Token
   GridType   Type
   UINT32   IDS
   TCHAR *   Token
TokenTable []


Define Documentation

#define new   CAM_DEBUG_NEW
 

Definition at line 162 of file bars.cpp.

#define QUOTE   "\""
 

Writes the control to the given string This will be in the form of:- Control H "BreakShapes" 0 126 220 V "BreakShapes" 0 126 220.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/2/97
Parameters:
pString = string to put the data for this control into [OUTPUTS]
Returns:
TRUE if successful, FALSE otherwise

Errors: -

See also:
-

Definition at line 3799 of file bars.cpp.


Function Documentation

static TokenIndex FindToken const TCHAR Token  )  [static]
 

Looks up the token index for the given string in the token table.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
6/4/94
Parameters:
Token= token that we want to read up to. [INPUTS]
- [OUTPUTS]
Returns:
Token index represented by Token, or TOKEN_NONE if no match found

Errors: -

See also:
-

Definition at line 233 of file bars.cpp.

00234 {
00235     for (INT32 i=0;i<NUM_TOKENS;i++)
00236     {
00237         if (camStrcmp(TokenTable[i].Token,Token) == 0)
00238             return ((TokenIndex)i);
00239     }
00240 
00241     return (TOKEN_NONE);
00242 }


Variable Documentation

String_64 BarsVersion [static]
 

Definition at line 177 of file bars.cpp.

String_256 DefaultBarsConfigPath [static]
 

Definition at line 175 of file bars.cpp.

BOOL ShowSystemBars = FALSE [static]
 

Definition at line 176 of file bars.cpp.

TCHAR* Token
 

Definition at line 181 of file bars.cpp.

struct { ... } TokenTable[] [static]
 


Generated on Sat Nov 10 03:49:03 2007 for Camelot by  doxygen 1.4.4