about summary refs log tree commit diff
path: root/usth/ICT2.2/labwork/3/C++/button-test.cc
blob: 7164b2fb68b7c6b5d5f0872e9baa0712c6a23949 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <iostream>

#include "button.h"

using namespace std;

int
main ()
{
  Button butt ("foo", "bar");
  butt.depress ();
  butt.undepress ();
  cout << "button " << butt.label << " color " << butt.color << endl;
}