-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOutput.h
36 lines (25 loc) · 1.09 KB
/
Output.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once
#include "..\Defs.h"
#include "Input.h"
class Output //The application manager should have a pointer to this class
{
private:
window* pWind; //Pointer to the Graphics Window
public:
Output(); // Performs the Window Initialization
Input* CreateInput() const; //creates a pointer to the Input object
void ChangeTitle(string Title) const;
void CreateDesignToolBar() const; //Tool bar of the design mode
void CreateSimulationToolBar() const;//Tool bar of the simulation mode
void CreateStatusBar() const; //Create Status bar
void ClearStatusBar() const; //Clears the status bar
void ClearDrawingArea() const; //Clears the drawing area
window* CreateWind(int wd, int h, int x, int y) const; //Creates user interface window
// Draws 2-input AND gate
void DrawAND2(GraphicsInfo r_GfxInfo, bool selected = false) const;
///TODO: Make similar functions for drawing all other gates, switch, and LED, .. etc
// Draws Connection
void DrawConnection(GraphicsInfo r_GfxInfo, bool selected = false) const;
void PrintMsg(string msg) const; //Print a message on Status bar
~Output();
};