13 #include <wx/window.h>
35 const Size precision = 5,
36 const Float decimalThreshold = 1000._f);
47 window->SetCursor(*wxHOURGLASS_CURSOR);
52 window->SetCursor(*wxSTANDARD_CURSOR);
Wrapper over enum allowing setting (and querying) individual bits of the stored value.
Global parameters of the code.
uint32_t Size
Integral type used to index arrays (by default).
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
Common macros and basic objects.
#define NAMESPACE_SPH_END
void printLabels(wxDC &dc, ArrayView< const IRenderOutput::Label > labels)
void drawTextWithSubscripts(wxDC &dc, const std::wstring &text, const wxPoint point)
std::wstring toPrintableString(const Float value, const Size precision=5, const Float decimalThreshold=1000._f)
Converts the value to a printable string.
Optional< Path > doSaveFileDialog(const std::string &title, Array< FileFormat > &&formats)
Optional< Path > doOpenFileDialog(const std::string &title, Array< FileFormat > &&formats)
IVirtualEntry::FileFormat FileFormat
Object providing connection between component parameters and values exposed to the user.
Object providing safe access to continuous memory of data.
Generic dynamically allocated resizable storage.
BusyCursor(wxWindow *window)
Wrapper of type value of which may or may not be present.
Object representing a path on a filesystem.