include/ax/ax_utils.h File Reference

#include "wx/dir.h"
#include "wx/filename.h"

Go to the source code of this file.

Classes

class  AxFileUtilities
 Miscellaneous file functions. More...
class  AxArchiveUtilities
 Miscellaneous archive functions. More...
class  AxUIUtilities
 Miscellaneous user interface functions. More...

Enumerations

enum  { AX_COPYFILE_OVERWRITE = 1, AX_COPYFILE_IGNORE_PERMISSIONS = 2 }

Functions

wxSize AxCalculateScaledImageSize (const wxSize &maxSize, const wxSize &imageSize)
 Calculate a suitable scale for an image to fit into the given space.
bool AxRemoveNonFilenameCharacters (wxString &str)
 Remove bad characters from a filename.
wxString AxGetSpeakableTextForKeyCode (int keycode)
 Gets suitable text for a given keycode.


Enumeration Type Documentation

anonymous enum

Enumerator:
AX_COPYFILE_OVERWRITE 
AX_COPYFILE_IGNORE_PERMISSIONS 


Function Documentation

wxSize AxCalculateScaledImageSize ( const wxSize &  maxSize,
const wxSize &  imageSize 
)

Calculate a suitable scale for an image to fit into the given space.

wxString AxGetSpeakableTextForKeyCode ( int  keycode  ) 

Gets suitable text for a given keycode.

bool AxRemoveNonFilenameCharacters ( wxString &  str  ) 

Remove bad characters from a filename.


Generated on Wed May 6 19:22:05 2009 for AxTk by  doxygen 1.5.8