|
ngscopeclient v0.3
|
Program entry point. More...
#include "ngscopeclient.h"#include "ngscopeclient-version.h"#include "MainWindow.h"#include "../scopeprotocols/scopeprotocols.h"#include "imgui_internal.h"
Functions | |
| void | Relaunch (int argc, char *argv[]) |
| int | main (int argc, char *argv[]) |
| void | RightJustifiedText (const string &str) |
| Helper function for right justified text in a table. | |
| bool | RectIntersect (ImVec2 posA, ImVec2 sizeA, ImVec2 posB, ImVec2 sizeB) |
| Check if two rectangles intersect. | |
| bool | RectContains (ImVec2 posA, ImVec2 sizeA, ImVec2 posB, ImVec2 sizeB) |
| Check if a rectangle is completely within the other one. | |
| ImU32 | GetTextColor (ImU32 bgColor) |
| Given a background color, choose white or black text to get better contrast. | |
| bool | IsColorDark (ImU32 bgColor) |
| Checks if a color is broadly "light" or "dark" using NTSC weighted luminance. | |
Variables | |
| unique_ptr< MainWindow > | g_mainWindow |
| GuiLogSink * | g_guiLog |
Program entry point.