dialogop.h File Reference

(r1785/r1751)

#include "ops.h"
#include "dlgtypes.h"
#include "convert.h"

Go to the source code of this file.

Classes

class  DialogOp
 The abstract DialogOp class is used as the base class for all Dialog box classes in Camelot. It provides methods required to create dialogs and to communicate with gadgets. More...
class  DialogTabOp
 The abstract DialogTabOp class is used as the base class for all tabbed Dialog box classes in Camelot. It is a simple specialisation of a DialogOp. More...

Functions

BOOL UpdateStringGadgetValue (DialogOp *Dialog, UINT32 Gadget, StringBase *NewString)
 Similar to SetStringGadgetValue but compares the contents of the gadget in the dialogue before the update and dosen't bother if the new value is the same as the current one. This reduces dialogue flicker. See also: DialogOp::SetStringGadgetValue.


Function Documentation

BOOL UpdateStringGadgetValue DialogOp Dialog,
UINT32  Gadget,
StringBase NewString
 

Similar to SetStringGadgetValue but compares the contents of the gadget in the dialogue before the update and dosen't bother if the new value is the same as the current one. This reduces dialogue flicker. See also: DialogOp::SetStringGadgetValue.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
14/09/94
Parameters:
Dialog - pointer to the DialogOp containing the gadget. [INPUTS] Gadget - the gadget ID to update. NewString - the new contents of the gadget.
Returns:
TRUE if the dialogue was updated. FALSE if it wasn't.
This is a complete bodge and should be made part of the DialogOp class - here for compatibility.

Definition at line 3607 of file dialogop.cpp.

03608 {
03609     return Dialog->UpdateStringGadgetValue(Gadget, NewString);
03610 }


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