#include "gui/Utils.h"
#include "common/Assert.h"
#include "io/FileSystem.h"
#include "objects/utility/StringUtils.h"
#include <iomanip>
#include <wx/dcmemory.h>
#include <wx/filedlg.h>
Go to the source code of this file.
◆ doOpenFileDialog()
◆ doSaveFileDialog()
◆ drawTextWithSubscripts() [1/2]
void drawTextWithSubscripts |
( |
wxDC & |
dc, |
|
|
const std::string & |
text, |
|
|
const wxPoint |
point |
|
) |
| |
◆ drawTextWithSubscripts() [2/2]
void drawTextWithSubscripts |
( |
wxDC & |
dc, |
|
|
const std::wstring & |
text, |
|
|
const wxPoint |
point |
|
) |
| |
Draws a text into the DC using current font and color, replacing all _x with corresponding subscript character.
Definition at line 86 of file Utils.cpp.
◆ printLabels()
◆ toPrintableString()
std::wstring toPrintableString |
( |
const Float |
value, |
|
|
const Size |
precision, |
|
|
const Float |
decimalThreshold |
|
) |
| |
Converts the value to a printable string.
Definition at line 121 of file Utils.cpp.