wxArt2D
Macros | Functions | Variables
gen.cpp File Reference
#include "wxartbaseprec.h"
#include <wx/tokenzr.h>
#include <wx/utils.h>
#include "wx/general/gen.h"
#include "wx/general/comevt.h"
#include "wx/xmlparse/genxmlpars.h"
#include "wx/general/smrtptr.inl"
Include dependency graph for gen.cpp:

Go to the source code of this file.

Macros

#define PATHLENGTH   255 * 4
 

Functions

A2DGENERALDLLEXP long wxGenNewId ()
 This function is like wxNewId, but it has its own ID set. More...
 
A2DGENERALDLLEXP void wxGenRegisterId (long id)
 see wxGenNewId(), use this to resrve a specific id More...
 
 WX_DEFINE_LIST (a2dResolveIdList)
 
 INITIALIZE_PROPERTIES_BASE (a2dObject)
 
A2DGENERALDLLEXP wxColour ParseSvgColour (wxString value)
 
 A2DGENERALDLLEXP_DATA (a2dObjectList *) wxNullRefObjectList=0
 
wxColour HexToColour (const wxString &hex)
 3-digit hex to wxColour
 
wxString ColourToHex (const wxColour &colour)
 RGB to 3-digit hex.
 

Variables

a2dWalkEvent a2dWalker_a2dObjectStart = wxNewId()
 
a2dWalkEvent a2dWalker_a2dObjectEnd = wxNewId()
 
a2dWalkEvent a2dWalker_a2dPropertyStart = wxNewId()
 
a2dWalkEvent a2dWalker_a2dPropertyEnd = wxNewId()
 
a2dWalkEvent a2dWalker_a2dNamedPropertyListStart = wxNewId()
 
a2dWalkEvent a2dWalker_a2dNamedPropertyListEnd = wxNewId()
 
a2dWalkEvent a2dWalker_a2dNamedPropertyStart = wxNewId()
 
a2dWalkEvent a2dWalker_a2dNamedPropertyEnd = wxNewId()
 
a2dWalkEvent a2dWalker_a2dCanvasObjectStart = wxNewId()
 
a2dWalkEvent a2dWalker_a2dCanvasObjectProperties = wxNewId()
 
a2dWalkEvent a2dWalker_a2dCanvasObjectPreChild = wxNewId()
 
a2dWalkEvent a2dWalker_a2dCanvasObjectPostChild = wxNewId()
 
a2dWalkEvent a2dWalker_a2dCanvasObjectEnd = wxNewId()
 
a2dWalkEvent a2dWalker_a2dDerivedCanvasObjectStart = wxNewId()
 
a2dWalkEvent a2dWalker_a2dDerivedCanvasObjectEnd = wxNewId()
 
const a2dError a2dError_NoError (wxT("a2dError_NoError"), wxT("All Oke"))
 
const a2dError a2dError_CommandError (wxT("a2dError_CommandError"), wxT(""))
 
const a2dError a2dError_NotSpecified (wxT("a2dError_NotSpecified"), wxT(""))
 
const a2dError a2dError_CanceledFileDialog (wxT("a2dError_CanceledFileDialog"), wxT(""))
 
const a2dError a2dError_FileCouldNotOpen (wxT("a2dError_FileCouldNotOpen"), wxTRANSLATE("Sorry, could not open file for saving"))
 
const a2dError a2dError_CouldNotCreateDocument (wxT("a2dError_CouldNotCreateDocument"), wxT(""))
 
const a2dError a2dError_NoDocTemplateRef (wxT("a2dError_NoDocTemplateRef"), wxT(""))
 
const a2dError a2dError_DocumentsOpened (wxT("a2dError_DocumentsOpened"), wxTRANSLATE("No template defined in a2dDocument::OnSaveAsDocument"))
 
const a2dError a2dError_SetEnv (wxT("a2dError_SetEnv"), wxT(""))
 
const a2dError a2dError_GetEnv (wxT("a2dError_GetEnv"), wxT(""))
 
const a2dError a2dError_GetVar (wxT("a2dError_GetVar"), wxT(""))
 
const a2dError a2dError_SaveFile (wxT("a2dError_SaveFile"), wxTRANSLATE("Sorry, could not save document to file"))
 
const a2dError a2dError_LoadFile (wxT("a2dError_LoadFile"), wxTRANSLATE("Sorry, could not load file into document"))
 
const a2dError a2dError_ExportFile (wxT("a2dError_ExportFile"), wxTRANSLATE("Sorry, could not export document to file"))
 
const a2dError a2dError_ImportFile (wxT("a2dError_ImportFile"), wxTRANSLATE("bad stream"))
 
const a2dError a2dError_IOHandler (wxT("a2dError_IOHandler"), wxTRANSLATE("suitable template I/O handler for loading not available in document templates"))
 
const a2dError a2dError_SaveObject (wxT("a2dError_SaveObject"), wxTRANSLATE("I/O handler cannot save document"))
 
const a2dError a2dError_LoadObject (wxT("a2dError_LoadObject"), wxTRANSLATE("I/O handler cannot load document"))
 
const a2dError a2dError_FileHistory (wxT("a2dError_FileHistory"), wxT(""))
 
const a2dError a2dError_ImportObject (wxT("a2dError_ImportObject"), wxT(""))
 
const a2dError a2dError_XMLparse (wxT("a2dError_XMLparse"), wxT(""))
 
const a2dError a2dError_FileVersion (wxT("a2dError_FileVersion"), wxTRANSLATE("Version of file does not fit document"))
 
const a2dError a2dError_LoadLayers (wxT("a2dError_LoadLayers"), wxTRANSLATE("Could not load layers"))
 
const a2dError a2dError_property (wxT("a2dError_property"), wxTRANSLATE("problems on property"))
 
const a2dError a2dError_NoView (wxT("a2dError_NoView"), wxTRANSLATE("Not a a2dCanvasView View"))
 
const a2dError a2dError_NoDocument (wxT("a2dError_NoDocument"), wxTRANSLATE("No document set for a2dCanvasView in a2dCentralCanvasCommandProcessor::SetShowObject()"))
 
const a2dError a2dError_NoController (wxT("a2dError_NoController"), wxTRANSLATE("No controller set for current view"))
 
const a2dError a2dError_NoTool (wxT("a2dError_NoTool"), wxTRANSLATE("No tool available"))
 
const a2dError a2dError_LinkRef (wxT("a2dError_LinkRef"), wxT(""))
 
const a2dError a2dError_NoWrapper (wxT("a2dError_NoWrapper"), wxT(""))
 
const a2dError a2dError_LinkPin (wxT("a2dError_LinkPin"), wxT(""))
 
const a2dError a2dError_NoPinClass (wxT("a2dError_NoPinClass"), wxT(""))
 
const a2dError a2dError_CouldNotEvaluatePath (wxT("a2dError_CouldNotEvaluatePath"), wxT(""))
 
const a2dError a2dError_Canceled (wxT("a2dError_Canceled"), wxT(""))
 
const a2dError a2dError_CouldNotLoad (wxT("a2dError_CouldNotLoad"), wxTRANSLATE("I/O handler error during loading this format."))
 
const a2dError a2dError_NoSelection (wxT("a2dError_NoSelection"), wxT(""))
 
const a2dError a2dError_ToManyOpen (wxT("a2dError_ToManyOpen"), wxT(""))
 
const a2dError a2dError_canvasObjectRelease (wxT("a2dError_canvasObjectRelease"), wxTRANSLATE("could not release a2dCanvasObject in a2dCommand_ReleaseObject::Do"))
 

Detailed Description

Author
Klaas Holwerda

Copyright: 2001-2004 (c) Klaas Holwerda

Licence: wxWidgets Licence

RCS-ID:

Id:
gen.cpp,v 1.154 2009/09/26 19:01:07 titato Exp

Definition in file gen.cpp.

Function Documentation

A2DGENERALDLLEXP long wxGenNewId ( )

This function is like wxNewId, but it has its own ID set.

wxNewId is used for menu command ids and frequently the same number space is used for menu ids and control/window ids. As window/control ids are limited to 15 bit in MSW, they should not be used for other stuff (like canvas object IDs)

Definition at line 92 of file gen.cpp.

A2DGENERALDLLEXP void wxGenRegisterId ( long  id)

see wxGenNewId(), use this to resrve a specific id

An id of a specific value is allocated. new wxGenNewId() generated id's after this will be incremented from this id.

Definition at line 97 of file gen.cpp.

gen.cpp File Reference -- Sun Oct 12 2014 17:04:27 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation