3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Functions | Variables
wxcommon.h File Reference
#include <wx/wx.h>
#include <wx/url.h>
#include <wx/treectrl.h>
#include <map>
#include "common/basics.h"
#include "backend/tree.hh"
Include dependency graph for wxcommon.h:
This graph shows which files directly or indirectly include this file:

Classes

class  VersionCheckThread
 Remote version thread checker, downloads RSS file from remote system and then. More...
 
class  TreePersistNode
 storage node of tree persistence More...
 
class  TreePersist
 storage helper class for tree persistence More...
 

Functions

std::string stlStr (const wxString &s)
 
template<class T >
bool validateTextAsStream (wxTextCtrl *t, T &i, bool(*conditionFunc)(const T &))
 
template<class T >
bool validateTextAsStream (wxTextCtrl *t, T &i)
 
void wxErrMsg (wxWindow *, const std::string &title, const std::string &mesg)
 
std::string locateDataFile (const char *name)
 
bool processMatchesName (size_t processID, const std::string &procName)
 
void copyRGBAtoWXImage (unsigned int width, unsigned int height, const unsigned char *rgbaBuf, wxImage &image, const unsigned char *mask)
 
void combineWxImage (wxImage &base, const wxImage &overlay)
 

Variables

wxEventType RemoteUpdateAvailEvent
 
wxEventType RefreshCompleteEvent
 

Function Documentation

◆ combineWxImage()

void combineWxImage ( wxImage &  base,
const wxImage &  overlay 
)

References ASSERT.

Referenced by BasicGLPane::saveImage(), and validateTextAsStream().

Here is the caller graph for this function:

◆ copyRGBAtoWXImage()

void copyRGBAtoWXImage ( unsigned int  width,
unsigned int  height,
const unsigned char *  rgbaBuf,
wxImage &  image,
const unsigned char *  mask 
)

References ASSERT.

Referenced by BasicGLPane::saveImage(), and validateTextAsStream().

Here is the caller graph for this function:

◆ locateDataFile()

std::string locateDataFile ( const char *  name)

◆ processMatchesName()

bool processMatchesName ( size_t  processID,
const std::string &  procName 
)

◆ stlStr()

std::string stlStr ( const wxString &  s)
inline

Referenced by MainWindowFrame::checkReloadAutosave(), CopyGrid::copyData(), createTmpFilename(), VersionCheckThread::Entry(), filterCloneTests(), filterRefreshNoOut(), TTFFinder::findFont(), ConfigFile::getConfigDir(), ExportAnimationDialog::getFilename(), ExternalProgramFilter::getRefreshUseMask(), MainWindowFrame::guessFileType(), MainWindowFrame::linkCropWidgets(), MainWindowFrame::OnAutosaveTimer(), MainWindowFrame::OnButtonRemoveCam(), ExportAnimationDialog::OnButtonWorkDir(), threeDepictApp::OnCmdLineParsed(), MainWindowFrame::OnComboCamera(), MainWindowFrame::OnComboCameraEnter(), MainWindowFrame::OnComboCameraText(), MainWindowFrame::OnComboFilter(), MainWindowFrame::OnComboStashEnter(), MainWindowFrame::OnComboStashText(), MainWindowFrame::OnDropFiles(), MainWindowFrame::OnFileExportImage(), MainWindowFrame::OnFileExportIons(), MainWindowFrame::OnFileExportPackage(), MainWindowFrame::OnFileExportPlot(), MainWindowFrame::OnFileExportVideo(), MainWindowFrame::OnFileOpen(), MainWindowFrame::OnFileSaveAs(), ExportAnimationDialog::OnFilterGridCellSelected(), PrefDialog::OnFilterListClick(), StringKeyFrameDialog::OnGridCellChange(), MainWindowFrame::OnGridFilterPropertyChange(), RangeEditorDialog::OnGridIonsCellChange(), RangeEditorDialog::OnGridRangesCellChange(), ExportAnimationDialog::OnImageFilePrefix(), ExportAnimationDialog::OnOutputDirText(), MainWindowFrame::OnRecentFile(), PrefDialog::OnResetFilterAllButton(), PrefDialog::OnResetFilterButton(), ExportRngDialog::OnSave(), StringKeyFrameDialog::OnTextFilename(), ExportAnimationDialog::OnTextFrame(), ResolutionDialog::OnTextHeight(), RangeEditorDialog::OnTextOverlay(), RangeEditorDialog::OnTextOverlayEnter(), ResolutionDialog::OnTextWidth(), MainWindowFrame::OnTreeEndLabelEdit(), MainWindowFrame::OnUpdateTimer(), ExternalProgramFilter::refresh(), DataLoadFilter::refresh(), CopyGrid::saveData(), BasicGLPane::saveImageSequence(), TreePersist::saveTreeExpandState(), validatePoint3D(), validateTextAsStream(), and wxErrMsg().

◆ validateTextAsStream() [1/2]

template<class T >
bool validateTextAsStream ( wxTextCtrl *  t,
T &  i,
bool(*)(const T &)  conditionFunc 
)

◆ validateTextAsStream() [2/2]

template<class T >
bool validateTextAsStream ( wxTextCtrl *  t,
T &  i 
)

◆ wxErrMsg()

void wxErrMsg ( wxWindow *  ,
const std::string &  title,
const std::string &  mesg 
)

Variable Documentation

◆ RefreshCompleteEvent

wxEventType RefreshCompleteEvent

◆ RemoteUpdateAvailEvent

wxEventType RemoteUpdateAvailEvent