3Depict
|
#include "wxcommon.h"
#include "common/stringFuncs.h"
#include "common/constants.h"
#include <stack>
#include <wx/wx.h>
#include <wx/xml/xml.h>
#include <wx/filename.h>
#include <windows.h>
Classes | |
struct | _UNICODE_STRING |
struct | _SYSTEM_PROCESS_INFORMATION_DETAILD |
Macros | |
#define | STATUS_SUCCESS ((NTSTATUS)0x00000000L) |
#define | STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L) |
Typedefs | |
typedef long | NTSTATUS |
typedef enum _SYSTEM_INFORMATION_CLASS | SYSTEM_INFORMATION_CLASS |
typedef struct _UNICODE_STRING | UNICODE_STRING |
typedef LONG | KPRIORITY |
typedef struct _SYSTEM_PROCESS_INFORMATION_DETAILD | SYSTEM_PROCESS_INFORMATION_DETAILD |
typedef struct _SYSTEM_PROCESS_INFORMATION_DETAILD * | PSYSTEM_PROCESS_INFORMATION_DETAILD |
typedef NTSTATUS(WINAPI * | PFN_NT_QUERY_SYSTEM_INFORMATION) (IN SYSTEM_INFORMATION_CLASS SystemInformationClass, IN OUT PVOID SystemInformation, IN ULONG SystemInformationLength, OUT OPTIONAL PULONG ReturnLength) |
Enumerations | |
enum | _SYSTEM_INFORMATION_CLASS { SystemProcessInformation = 5 } |
Functions | |
std::string | locateDataFile (const char *name) |
void | wxErrMsg (wxWindow *win, const std::string &title, const std::string &mesg) |
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 | |
const char * | RSS_FEED_LOCATION ="http://threedepict.sourceforge.net/rss.xml" |
wxEventType | RemoteUpdateAvailEvent = wxNewEventType() |
wxEventType | RefreshCompleteEvent = wxNewEventType() |
const unsigned int | MAX_RSS_CONTENT_SIZE =1024*1024 |
const char * | PATH_NONCE ="%$-" |
std::string | inputString |
#define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L) |
Referenced by processMatchesName().
#define STATUS_SUCCESS ((NTSTATUS)0x00000000L) |
Referenced by processMatchesName().
typedef LONG KPRIORITY |
typedef long NTSTATUS |
typedef NTSTATUS(WINAPI * PFN_NT_QUERY_SYSTEM_INFORMATION) (IN SYSTEM_INFORMATION_CLASS SystemInformationClass, IN OUT PVOID SystemInformation, IN ULONG SystemInformationLength, OUT OPTIONAL PULONG ReturnLength) |
typedef struct _SYSTEM_PROCESS_INFORMATION_DETAILD * PSYSTEM_PROCESS_INFORMATION_DETAILD |
typedef enum _SYSTEM_INFORMATION_CLASS SYSTEM_INFORMATION_CLASS |
typedef struct _UNICODE_STRING UNICODE_STRING |
void combineWxImage | ( | wxImage & | base, |
const wxImage & | overlay | ||
) |
References ASSERT.
Referenced by BasicGLPane::saveImage(), and validateTextAsStream().
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().
std::string locateDataFile | ( | const char * | name | ) |
References THREEDEP_ARRAYSIZE.
Referenced by MainWindowFrame::checkShowTips(), MathGLPane::getErrString(), MainWindowFrame::OnHelpHelp(), TexturePool::openTexture(), TexturePool::openTexture3D(), RangeEditorDialog::RangeEditorDialog(), and validateTextAsStream().
bool processMatchesName | ( | size_t | processID, |
const std::string & | procName | ||
) |
References _SYSTEM_PROCESS_INFORMATION_DETAILD::NextEntryOffset, STATUS_INFO_LENGTH_MISMATCH, STATUS_SUCCESS, and SystemProcessInformation.
Referenced by MainWindowFrame::checkReloadAutosave(), validateTextAsStream(), and wxErrMsg().
void wxErrMsg | ( | wxWindow * | win, |
const std::string & | title, | ||
const std::string & | mesg | ||
) |
References processMatchesName(), splitStrsRef(), stlStr(), stream_cast(), and stripWhite().
Referenced by MainWindowFrame::MainWindowFrame(), MainWindowFrame::OnComboFilter(), MainWindowFrame::OnDropFiles(), MainWindowFrame::OnFileExportFilterVideo(), MainWindowFrame::OnFileExportImage(), MainWindowFrame::OnFileExportIons(), MainWindowFrame::OnFileExportPackage(), MainWindowFrame::OnFileExportPlot(), MainWindowFrame::OnFileExportVideo(), MainWindowFrame::OnFileSave(), MainWindowFrame::OnFileSaveAs(), and validateTextAsStream().
std::string inputString |
const unsigned int MAX_RSS_CONTENT_SIZE =1024*1024 |
Referenced by VersionCheckThread::Entry().
const char* PATH_NONCE ="%$-" |
Referenced by TreePersist::saveTreeExpandState(), and FilterTree::serialiseToStringPaths().
wxEventType RefreshCompleteEvent = wxNewEventType() |
Referenced by RefreshThread::Entry(), MainWindowFrame::finaliseStartup(), and validateTextAsStream().
wxEventType RemoteUpdateAvailEvent = wxNewEventType() |
Referenced by VersionCheckThread::Entry(), MainWindowFrame::finaliseStartup(), and validateTextAsStream().
const char* RSS_FEED_LOCATION ="http://threedepict.sourceforge.net/rss.xml" |
Referenced by VersionCheckThread::Entry().