|
void | DoItemHelp () |
|
void | renderInfoLink (const char *label, const char *linktext, bool &clicked, bool &hovered) |
| Render a link of the "Sample rate: 4 GSa/s" type that shows up in the scope properties box.
|
|
void | startBadgeLine () |
| prepare rendering context to display a badge at the end of current line
|
|
void | renderBadge (ImVec4 color,...) |
| render a badge at the end of current line with provided color and text More...
|
|
void | renderInstrumentBadge (std::shared_ptr< Instrument > inst, bool latched, InstrumentBadge badge) |
| render a badge for an instrument node More...
|
|
bool | renderCombo (const char *label, bool alignRight, ImVec4 color, int &selected, const std::vector< std::string > &values, bool useColorForText=false, uint8_t cropTextTo=0) |
|
bool | renderCombo (const char *label, bool alignRight, ImVec4 color, int *selected,...) |
| Render a combo box with provded color and values. More...
|
|
bool | renderToggle (const char *label, bool alignRight, ImVec4 color, bool curValue) |
| Render a toggle button combo. More...
|
|
bool | renderOnOffToggle (const char *label, bool alignRight, bool curValue) |
| Render an on/off toggle button combo. More...
|
|
void | renderDownloadProgress (std::shared_ptr< Instrument > inst, InstrumentChannel *chan, bool isLast) |
| Render a download progress bar for a given instrument channel. More...
|
|
void | renderPsuRows (bool isVoltage, bool cc, PowerSupplyChannel *chan, const char *setValue, const char *measuredValue, bool &clicked, bool &hovered) |
| Render a PSU properties row. More...
|
|
void | renderAwgProperties (std::shared_ptr< FunctionGenerator > awg, FunctionGeneratorChannel *awgchan) |
| Render AWG channel properties. More...
|
|
void | renderInstrumentNode (std::shared_ptr< Instrument > instrument) |
| Rendering of an instrument node. More...
|
|
void | DoTimebaseSettings (std::shared_ptr< Oscilloscope > scope) |
| Add nodes for timebase controls under an instrument.
|
|
void | DoFrequencySettings (std::shared_ptr< Oscilloscope > scope) |
|
void | DoSpectrometerSettings (std::shared_ptr< SCPISpectrometer > spec) |
|
void | renderChannelNode (std::shared_ptr< Instrument > instrument, size_t channelIndex, bool isLast) |
| Rendering of a channel node. More...
|
|
void | renderStreamNode (std::shared_ptr< Instrument > instrument, InstrumentChannel *channel, size_t streamIndex, bool renderName, bool renderProps, bool isLast) |
| Rendering of a stream node. More...
|
|
void | renderFilterNode (Filter *filter) |
| Rendering of a Filter node. More...
|
|
void | SmallDisabledButton (const char *label) |
| Helper to render a small button that's non-interactive.
|
|
bool | FloatInputWithApplyButton (const std::string &label, float ¤tValue, float &committedValue) |
| Helper for displaying a floating-point input box with an "apply" button.
|
|
bool | TextInputWithApplyButton (const std::string &label, std::string ¤tValue, std::string &committedValue) |
|
bool | IntInputWithImplicitApply (const std::string &label, int ¤tValue, int &committedValue) |
|
bool | UnitInputWithExplicitApply (const std::string &label, std::string ¤tValue, float &committedValue, Unit unit) |
| Input box for a floating point value with an associated unit and an "apply" button. More...
|
|
void | RenderErrorPopup () |
| Popup message when we fail to connect.
|
|
void | ShowErrorPopup (const std::string &title, const std::string &msg) |
| Opens the error popup.
|
|
|
static bool | Combo (const std::string &label, const std::vector< std::string > &items, int &selection) |
| Displays a combo box from a vector<string>
|
|
static bool | UnitInputWithImplicitApply (const std::string &label, std::string ¤tValue, float &committedValue, Unit unit) |
| Input box for a floating point value with an associated unit. More...
|
|
static bool | UnitInputWithImplicitApply (const std::string &label, std::string ¤tValue, double &committedValue, Unit unit) |
| Input box for a double precision floating point value with an associated unit. More...
|
|
static bool | UnitInputWithImplicitApply (const std::string &label, std::string ¤tValue, int64_t &committedValue, Unit unit) |
| Input box for an integer value with an associated unit. More...
|
|
static bool | TextInputWithImplicitApply (const std::string &label, std::string ¤tValue, std::string &committedValue) |
|
static void | Tooltip (const std::string &str, bool allowDisabled=false) |
| Helper based on imgui demo for displaying tooltip text over the previously rendered widget.
|
|
static void | HelpMarker (const std::string &str) |
|
static void | HelpMarker (const std::string &header, const std::vector< std::string > &bullets) |
|