/* ============================================================================== bottomSect.cpp Created: 5 Dec 2019 3:24:17pm Author: Ryan Andrews ============================================================================== */ #include "../JuceLibraryCode/JuceHeader.h" #include "bottomSect.h" //============================================================================== bottomSect::bottomSect() { e /////Labels//////////////////////////////////////////////////////////////////////////////////////////////////////////////// //Further Actions Label furtherActLabel.setText("Further Actions:", dontSendNotification); furtherActLabel.setTopLeftPosition(0, 0); furtherActLabel.setSize(150, 30); addAndMakeVisible(furtherActLabel); //Engineers Signature Label engSignLabel.setText("Engineers", dontSendNotification); engSignLabel.setTopLeftPosition(0, 40); engSignLabel.setSize(100, 30); addAndMakeVisible(engSignLabel); //Engineers Signature 2 Label engSign2Label.setText("Signature:", dontSendNotification); engSign2Label.setTopLeftPosition(0, 70); engSign2Label.setSize(100, 30); addAndMakeVisible(engSign2Label); //Engineers Name Label engNameLabel.setText("Engineers Name:", dontSendNotification); engNameLabel.setTopLeftPosition(0, 120); engNameLabel.setSize(150, 30); addAndMakeVisible(engNameLabel); /////Text Editors//////////////////////////////////////////////////////////////////////////////////////////////////////////////// //Further Actions Box furtherActBox.setTopLeftPosition(105, 1); furtherActBox.setSize(374, 28); addAndMakeVisible(furtherActBox); //Engineers Signature Box engSignBox.setTopLeftPosition(80, 41); engSignBox.setSize(269, 80); //engSignBox.addListener(this); engSignBox.addMouseListener(this, true); addAndMakeVisible(engSignBox); //Engineers Name Box engNameBox.setTopLeftPosition(125, 120); engNameBox.setSize(224, 29); addAndMakeVisible(engNameBox); } bottomSect::~bottomSect() { } void bottomSect::paint (Graphics& g) { //Further Actions Rectangle g.drawRect(0, 0, 480, 30); //Engineers Signature Rectangle g.drawRect(0, 40, 350, 110); } void bottomSect::resized() { // This method is where you should set the bounds of any child // components that your component contains.. }