Mercurial > hg > hv
diff UnitRangeEdit.cpp @ 0:a6a46af64546
first upload
author | wenx <xue.wen@eecs.qmul.ac.uk> |
---|---|
date | Wed, 10 Aug 2011 14:55:38 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/UnitRangeEdit.cpp Wed Aug 10 14:55:38 2011 +0100 @@ -0,0 +1,33 @@ +/* + Harmonic Visualiser + + An audio file viewer and editor. + Centre for Digital Music, Queen Mary, University of London. + This file copyright 2011 Wen Xue. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. +*/ +//--------------------------------------------------------------------------- + +#include <vcl.h> +#pragma hdrstop + +#include "UnitRangeEdit.h" +//--------------------------------------------------------------------------- +#pragma package(smart_init) +#pragma resource "*.dfm" +TRangeEdit *RangeEdit; +//--------------------------------------------------------------------------- +__fastcall TRangeEdit::TRangeEdit(TComponent* Owner) + : TForm(Owner) +{ +} +//--------------------------------------------------------------------------- +void __fastcall TRangeEdit::FormShow(TObject *Sender) +{ + Edit1->SetFocus(); +} +//---------------------------------------------------------------------------