Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

src/tools.h File Reference


Functions

wxColour hexStringToColour (wxString str)
 Parses a hex string to a wxColour.
wxString colourToHexString (wxColour colour)
 Returns a hex string repr of a wxColour.
wxString wxGetAppPath (const wxString &argv0, const wxString &cwd, const wxString &appVar)
 Tries to find the path where the executable was started from.
void scanDirFiles (wxArrayString *ra, wxString dir)
 Scans a directory and fill ra with paths traversed.
void splitString (wxArrayString *ra, const wxString &str, const wxString &delim)
 Splits a string on delim and fills ra.
bool deleteDir (const wxString &dirName)
 Removes a directory recursively.
bool moveFile (const wxString &from, const wxString &to, bool move)
 Move or copy a file.
bool isExecutable (const wxString &fileName)
 Determine if a file is executable.
void filePropertiesDialog (const wxString &fname)
 Show file properties.
void sysInfoDialog ()
 Determine if a file is executable.

Function Documentation

wxString colourToHexString wxColour  colour  ) 
 

Returns a hex string repr of a wxColour.

bool deleteDir const wxString &  dirName  ) 
 

Removes a directory recursively.

void filePropertiesDialog const wxString &  fname  ) 
 

Show file properties.

wxColour hexStringToColour wxString  str  ) 
 

Parses a hex string to a wxColour.

Author:
J. Knight <jnite@users.sourceforge.net>
Version:
Id
color.h,v 1.3 2006/02/03 05:06:06 jimbag Exp

bool isExecutable const wxString &  fileName  ) 
 

Determine if a file is executable.

bool moveFile const wxString &  from,
const wxString &  to,
bool  move
 

Move or copy a file.

void scanDirFiles wxArrayString *  ra,
wxString  dir
 

Scans a directory and fill ra with paths traversed.

void splitString wxArrayString *  ra,
const wxString &  str,
const wxString &  delim
 

Splits a string on delim and fills ra.

void sysInfoDialog  ) 
 

Determine if a file is executable.

wxString wxGetAppPath const wxString &  argv0,
const wxString &  cwd,
const wxString &  appVar
 

Tries to find the path where the executable was started from.


Generated on Fri Mar 10 12:32:03 2006 for MonkeyFish by  doxygen 1.4.4