Skip to content

Commit 6bbc80f

Browse files
author
swooshy
committed
Reverted 9ce82dc
1 parent c59963a commit 6bbc80f

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

Revitar/RevEditor.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ RevEditor::RevEditor (AudioEffect *effect)
326326
hKnob = 0;
327327
hTuneKnob = 0;
328328
hSlideKnob = 0;
329-
// hRegButton = 0;
329+
hRegButton = 0;
330330
hVuMeter = 0;
331331
hWelcome = 0;
332332
hChordSwitch = 0;
@@ -385,17 +385,17 @@ RevEditor::~RevEditor ()
385385
hRoundButton->forget ();
386386
hRoundButton = 0;
387387

388-
// if (hRegButton)
389-
// hRegButton->forget ();
390-
// hRegButton = 0;
388+
if (hRegButton)
389+
hRegButton->forget ();
390+
hRegButton = 0;
391391

392392
if (hVuMeter)
393393
hVuMeter->forget ();
394394
hVuMeter = 0;
395395

396-
//if (hWelcome)
397-
// hWelcome->forget ();
398-
//hWelcome = 0;
396+
if (hWelcome)
397+
hWelcome->forget ();
398+
hWelcome = 0;
399399

400400
if (hChordSwitch)
401401
hChordSwitch->forget ();
@@ -610,8 +610,8 @@ if (!hSquareButton)
610610
hSquareButton = new CBitmap (IDB_BITMAP39);
611611
if (!hRoundButton)
612612
hRoundButton = new CBitmap (IDB_BITMAP38);
613-
//if (!hRegButton)
614-
// hRegButton = new CBitmap (REGISTER_0);
613+
if (!hRegButton)
614+
hRegButton = new CBitmap (REGISTER_0);
615615
if (!hAbout)
616616
hAbout = new CBitmap (ABOUT_0);
617617
if (!hVuMeter)

Revitar/RevEditor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class RevEditor : public AEffGUIEditor, public CControlListener
271271
COnOffButton *picknoise;
272272
COnOffButton *absRel;
273273
CTextEdit *textReg;
274-
//CSplashScreen *welcome;
274+
CSplashScreen *welcome;
275275
CSplashScreen *about;
276276
CVuMeterCircle *meter;
277277
COptionMenu *chords;
@@ -294,9 +294,9 @@ class RevEditor : public AEffGUIEditor, public CControlListener
294294
CBitmap *hSlideKnob;
295295
CBitmap *hRoundButton;
296296
CBitmap *hSquareButton;
297-
//CBitmap *hRegButton;
297+
CBitmap *hRegButton;
298298
CBitmap *hVuMeter;
299-
//CBitmap *hWelcome;
299+
CBitmap *hWelcome;
300300
CBitmap *hChordSwitch;
301301
CBitmap *hAbout;
302302
CBitmap *hDisplayBack;

Revitar/Revitar.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ KNOB_SHADOW_1 BITMAP "res\\chromeKnob3Shadow-1.bmp"
6868
TUNE_KNOB_0 BITMAP "res\\tuneKnob0-new.bmp"
6969
PICK_TYPE_3 BITMAP "res\\pickType3.bmp"
7070
STOP_SWITCH_0 BITMAP "res\\stopSwitch.bmp"
71-
//REGISTER_0 BITMAP "res\\registerButton1.bmp"
71+
REGISTER_0 BITMAP "res\\registerButton1.bmp"
7272
CHORD_ON_0 BITMAP "res\\chordOn0.bmp"
7373
KNOB_SLIDE_0 BITMAP "res\\chromeKnob3Shadow-Slide0.bmp"
7474
ROCKER_SWITCH_4 BITMAP "res\\rockerSwitch4.bmp"

Revitar/res/registerButton1.bmp

5.93 KB
Binary file not shown.

Revitar/res/welcome0.bmp

256 KB
Binary file not shown.

Revitar/resource.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
#define TUNE_KNOB_0 170
8080
#define PICK_TYPE_3 171
8181
#define STOP_SWITCH_0 172
82-
//#define REGISTER_0 173
83-
//#define WELCOME_BETA_0 174
82+
#define REGISTER_0 173
83+
#define WELCOME_BETA_0 174
8484
#define BACKGROUND_ALL_BETA_0 175
8585
#define BACKGROUND_BETA_7_0 176
8686
#define ROCKER_SWITCH_2 177

0 commit comments

Comments
 (0)