ngscopeclient 0.1-dev+51fbda87c
Macros | Functions | Variables
main.cpp File Reference

Program entry point. More...

#include "ngscopeclient.h"
#include "MainWindow.h"
#include "../scopeprotocols/scopeprotocols.h"
#include "imgui_internal.h"
Include dependency graph for main.cpp:

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. More...
 

Variables

unique_ptr< MainWindowg_mainWindow
 
GuiLogSinkg_guiLog
 

Detailed Description

Program entry point.

Author
Andrew D. Zonenberg

Function Documentation

◆ RectContains()

bool RectContains ( ImVec2  posA,
ImVec2  sizeA,
ImVec2  posB,
ImVec2  sizeB 
)

Check if a rectangle is completely within the other one.

A is outer, B is inner