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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758
|
/*
* VolumeTracker.cs
* Copyright © 2008-2011 kbinani
*
* This file is part of org.kbinani.cadencii.
*
* org.kbinani.cadencii is free software; you can redistribute it and/or
* modify it under the terms of the GPLv3 License.
*
* org.kbinani.cadencii is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#if JAVA
package org.kbinani.cadencii;
//INCLUDE-SECTION IMPORT ../BuildJavaUI/src/org/kbinani/cadencii/VolumeTracker.java
import java.awt.event.*;
import org.kbinani.*;
import org.kbinani.vsq.*;
import org.kbinani.windows.forms.*;
#else
using System;
using System.Windows.Forms;
using org.kbinani;
using org.kbinani.windows.forms;
using org.kbinani.java.awt;
using org.kbinani.vsq;
namespace org.kbinani.cadencii
{
using BEventArgs = System.EventArgs;
using BKeyEventArgs = System.Windows.Forms.KeyEventArgs;
using BEventHandler = System.EventHandler;
using BKeyEventHandler = System.Windows.Forms.KeyEventHandler;
using boolean = System.Boolean;
#endif
#if JAVA
public class VolumeTracker extends JPanel implements IAmplifierView
#else
public class VolumeTracker : UserControl, IAmplifierView
#endif
{
private int mFeder = 0;
private String m_number = "0";
private String m_title = "";
private Object m_tag = null;
private boolean mMuted = false;
private int mPanpot = 0;
private int mTrack = 0;
#region Constants
public const int WIDTH = 85;
public const int HEIGHT = 284;
#if JAVA
private static final int[][] _KEY = {
#else
private static readonly int[,] _KEY = {
#endif
{55, 26},
{51, 27},
{47, 28},
{42, 30},
{38, 31},
{35, 33},
{31, 34},
{28, 36},
{24, 37},
{21, 39},
{18, 40},
{15, 42},
{12, 43},
{10, 45},
{7, 46},
{5, 48},
{2, 49},
{0, 51},
{-2, 52},
{-5, 54},
{-7, 55},
{-10, 57},
{-12, 58},
{-15, 60},
{-18, 61},
{-21, 63},
{-24, 64},
{-28, 66},
{-31, 67},
{-35, 69},
{-38, 70},
{-42, 72},
{-47, 73},
{-51, 75},
{-55, 76},
{-60, 78},
{-65, 79},
{-70, 81},
{-76, 82},
{-81, 84},
{-87, 85},
{-93, 87},
{-100, 88},
{-107, 89},
{-114, 91},
{-121, 92},
{-129, 94},
{-137, 95},
{-145, 97},
{-154, 98},
{-163, 100},
{-173, 101},
{-183, 103},
{-193, 104},
{-204, 106},
{-215, 107},
{-227, 109},
{-240, 110},
{-253, 112},
{-266, 113},
{-280, 115},
{-295, 116},
{-311, 118},
{-327, 119},
{-344, 121},
{-362, 122},
{-380, 124},
{-399, 125},
{-420, 127},
{-441, 128},
{-463, 130},
{-486, 131},
{-510, 133},
{-535, 134},
{-561, 136},
{-589, 137},
{-617, 139},
{-647, 140},
{-678, 142},
{-711, 143},
{-745, 145},
{-781, 146},
{-818, 148},
{-857, 149},
{-898, 151},
};
#endregion
#if JAVA
public BEvent<BEventHandler> federChangedEvent = new BEvent<BEventHandler>();
#elif QT_VERSION
public signals: void federChanged( QObject sender, QObject e );
#else
public event FederChangedEventHandler FederChanged;
#endif
#if JAVA
public BEvent<BEventHandler> panpotChangedEvent = new BEvent<BEventHandler>();
#elif QT_VERSION
public signals: void panpotChanged( QObject sender, QObject e );
#else
public event PanpotChangedEventHandler PanpotChanged;
#endif
#if JAVA
public BEvent<BEventHandler> muteButtonClickEvent = new BEvent<BEventHandler>();
#elif QT_VERSION
public: signals: void muteButtonClick( QObject sender, QObject e );
#else
public event BEventHandler MuteButtonClick;
#endif
#if JAVA
public BEvent<BEventHandler> soloButtonClickEvent = new BEvent<BEventHandler>();
#elif QT_VERSION
public: signals: void soloButtonClick( QObject sender, QObject e );
#else
public event BEventHandler SoloButtonClick;
#endif
public VolumeTracker()
{
#if JAVA
super();
initialize();
#else
InitializeComponent();
#endif
registerEventHandlers();
setResources();
#if !JAVA
this.SetStyle( ControlStyles.DoubleBuffer, true );
#endif
setMuted( false );
setSolo( false );
}
public int getTrack()
{
return mTrack;
}
public void setTrack( int value )
{
mTrack = value;
}
public double getAmplifyL()
{
double ret = 0.0;
if ( !mMuted ) {
ret = VocaloSysUtil.getAmplifyCoeffFromFeder( mFeder ) * VocaloSysUtil.getAmplifyCoeffFromPanLeft( mPanpot );
}
return ret;
}
public double getAmplifyR()
{
double ret = 0.0;
if ( !mMuted ) {
ret = VocaloSysUtil.getAmplifyCoeffFromFeder( mFeder ) * VocaloSysUtil.getAmplifyCoeffFromPanRight( mPanpot );
}
return ret;
}
public void setLocation( int x, int y )
{
#if JAVA
super.setLocation( x, y );
#else
base.Location = new System.Drawing.Point( x, y );
#endif
}
public void setTag( Object value )
{
m_tag = value;
}
public Object getTag()
{
return m_tag;
}
public String getTitle()
{
return m_title;
}
public void setTitle( String value )
{
m_title = value;
updateTitle();
}
private void updateTitle()
{
if ( str.compare( m_number, "" ) ) {
lblTitle.setText( m_title );
} else if ( str.compare( m_title, "" ) ) {
lblTitle.setText( m_number );
} else {
lblTitle.setText( m_number + " " + m_title );
}
}
public String getNumber()
{
return m_number;
}
public void setNumber( String value )
{
m_number = value;
updateTitle();
}
public boolean isMuted()
{
return chkMute.isSelected();
}
public void setMuted( boolean value )
{
boolean old = chkMute.isSelected();
chkMute.setSelected( value );
chkMute.setBackground( value ? PortUtil.DimGray : Color.white );
mMuted = value;
}
public boolean isSolo()
{
return chkSolo.isSelected();
}
public void setSolo( boolean value )
{
boolean old = chkSolo.isSelected();
chkSolo.setSelected( value );
chkSolo.setBackground( value ? PortUtil.DarkCyan : Color.white );
}
public int getPanpot()
{
return trackPanpot.getValue();
}
public void setPanpot( int value )
{
trackPanpot.setValue( value );
}
public boolean isSoloButtonVisible()
{
return chkSolo.isVisible();
}
public void setSoloButtonVisible( boolean value )
{
chkSolo.setVisible( value );
}
public int getFeder()
{
return mFeder;
}
public void setFeder( int value )
{
int old = mFeder;
mFeder = value;
if ( old != mFeder ) {
try {
#if JAVA
federChangedEvent.raise( mTrack, mFeder );
#elif QT_VERSION
federChanged( mTrack, mFeder );
#else
if ( FederChanged != null ) {
FederChanged.Invoke( mTrack, mFeder );
}
#endif
} catch ( Exception ex ) {
serr.println( "VolumeTracker#setFeder; ex=" + ex );
}
}
int v = 177 - getYCoordFromFeder( mFeder );
trackFeder.setValue( v );
}
private static int getFederFromYCoord( int y )
{
#if JAVA
int feder = _KEY[0][0];
int min_diff = Math.abs( _KEY[0][1] - y );
#else
int feder = _KEY[0, 0];
int min_diff = Math.Abs( _KEY[0, 1] - y );
#endif
int index = 0;
#if JAVA
int len = _KEY.length;
#else
int len = _KEY.GetUpperBound( 0 ) + 1;
#endif
for ( int i = 1; i < len; i++ ) {
#if JAVA
int diff = Math.abs( _KEY[i][1] - y );
#else
int diff = Math.Abs( _KEY[i, 1] - y );
#endif
if ( diff < min_diff ) {
index = i;
min_diff = diff;
#if JAVA
feder = _KEY[i][0];
#else
feder = _KEY[i, 0];
#endif
}
}
return feder;
}
private static int getYCoordFromFeder( int feder )
{
#if JAVA
int y = _KEY[0][1];
int min_diff = Math.Abs( _KEY[0][0] - feder );
#else
int y = _KEY[0, 1];
int min_diff = Math.Abs( _KEY[0, 0] - feder );
#endif
int index = 0;
#if JAVA
int len = _KEY.length;
#else
int len = _KEY.GetUpperBound( 0 ) + 1;
#endif
for ( int i = 1; i < len; i++ ) {
#if JAVA
int diff = Math.Abs( _KEY[i][0] - feder );
#else
int diff = Math.Abs( _KEY[i, 0] - feder );
#endif
if ( diff < min_diff ) {
index = i;
min_diff = diff;
#if JAVA
y = _KEY[i][1];
#else
y = _KEY[i, 1];
#endif
}
}
return y;
}
#region event handlers
private void txtPanpot_Enter( Object sender, EventArgs e )
{
txtPanpot.selectAll();
}
private void txtFeder_Enter( Object sender, EventArgs e )
{
txtFeder.selectAll();
}
public void VolumeTracker_Resize( Object sender, BEventArgs e )
{
#if !JAVA
this.Width = WIDTH;
this.Height = HEIGHT;
#endif
}
public void trackFeder_ValueChanged( Object sender, BEventArgs e )
{
mFeder = getFederFromYCoord( 151 - (trackFeder.getValue() - 26) );
txtFeder.setText( (mFeder / 10.0) + "" );
try {
#if JAVA
federChangedEvent.raise( mTrack, mFeder );
#elif QT_VERSION
federChanged( mTrack, mFeder );
#else
if ( FederChanged != null ) {
FederChanged.Invoke( mTrack, mFeder );
}
#endif
} catch ( Exception ex ) {
serr.println( "VolumeTracker#trackFeder_ValueChanged; ex=" + ex );
}
}
public void trackPanpot_ValueChanged( Object sender, BEventArgs e )
{
mPanpot = trackPanpot.getValue();
txtPanpot.setText( mPanpot + "" );
try {
#if JAVA
panpotChangedEvent.raise( mTrack, mPanpot );
#elif QT_VERSION
panpotChanged( mTrack, mPanpot );
#else
if ( PanpotChanged != null ) {
PanpotChanged.Invoke( mTrack, mPanpot );
}
#endif
} catch ( Exception ex ) {
serr.println( "VolumeTracker#trackPanpot_ValueChanged; ex=" + ex );
}
}
public void txtFeder_KeyDown( Object sender, BKeyEventArgs e )
{
#if JAVA
if( (e.getKeyCode() & KeyEvent.VK_ENTER) != KeyEvent.VK_ENTER ){
return;
}
#else
if ( (e.KeyCode & Keys.Enter) != Keys.Enter ) {
return;
}
#endif
try {
int feder = (int)((float)str.tof( txtFeder.getText() ) * 10.0f);
if ( 55 < feder ) {
feder = 55;
}
if ( feder < -898 ) {
feder = -898;
}
setFeder( feder );
txtFeder.setText( getFeder() / 10.0f + "" );
txtFeder.requestFocusInWindow();
txtFeder.selectAll();
} catch ( Exception ex ) {
serr.println( "VolumeTracker#txtFeder_KeyDown; ex=" + ex );
}
}
public void txtPanpot_KeyDown( Object sender, BKeyEventArgs e )
{
#if JAVA
if( (e.getKeyCode() & KeyEvent.VK_ENTER) != KeyEvent.VK_ENTER ){
return;
}
#else
if ( (e.KeyCode & Keys.Enter) != Keys.Enter ) {
return;
}
#endif
try {
int panpot = str.toi( txtPanpot.getText() );
if ( panpot < -64 ) {
panpot = -64;
}
if ( 64 < panpot ) {
panpot = 64;
}
setPanpot( panpot );
txtPanpot.setText( getPanpot() + "" );
txtPanpot.requestFocusInWindow();
txtPanpot.selectAll();
} catch ( Exception ex ) {
serr.println( "VolumeTracker#txtPanpot_KeyDown; ex=" + ex );
}
}
public void chkSolo_Click( Object sender, EventArgs e )
{
try {
#if JAVA
soloButtonClickEvent.raise( this, e );
#elif QT_VERSION
soloButtonClick( this, e );
#else
if ( SoloButtonClick != null ) {
SoloButtonClick.Invoke( this, e );
}
#endif
} catch ( Exception ex ) {
serr.println( "VolumeTracker#chkSolo_Click; ex=" + ex );
}
}
public void chkMute_Click( Object sender, EventArgs e )
{
mMuted = chkMute.isSelected();
try {
#if JAVA
muteButtonClickEvent.raise( this, e );
#elif QT_VERSION
muteButtonClick( this, e );
#else
if ( MuteButtonClick != null ) {
MuteButtonClick.Invoke( this, e );
}
#endif
} catch ( Exception ex ) {
serr.println( "VolumeTracker#chkMute_Click; ex=" + ex );
}
}
#endregion
private void registerEventHandlers()
{
trackFeder.ValueChanged += new BEventHandler( trackFeder_ValueChanged );
trackPanpot.ValueChanged += new BEventHandler( trackPanpot_ValueChanged );
txtPanpot.KeyDown += new BKeyEventHandler( txtPanpot_KeyDown );
txtFeder.KeyDown += new BKeyEventHandler( txtFeder_KeyDown );
chkSolo.Click += new BEventHandler( chkSolo_Click );
chkMute.Click += new BEventHandler( chkMute_Click );
#if !JAVA
txtFeder.Enter += new BEventHandler( txtFeder_Enter );
txtPanpot.Enter += new BEventHandler( txtPanpot_Enter );
#endif
}
private void setResources()
{
}
#if JAVA
#region UI Impl for Java
//INCLUDE-SECTION FIELD ../BuildJavaUI/src/org/kbinani/cadencii/VolumeTracker.java
//INCLUDE-SECTION METHOD ../BuildJavaUI/src/org/kbinani/cadencii/VolumeTracker.java
#endregion
#else
#region UI Impl for C#
/// <summary>
/// 必要なデザイナ変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <param name="disposing">マネージ リソースが破棄される場合 true、破棄されない場合は false です。</param>
protected override void Dispose( boolean disposing )
{
if ( disposing && (components != null) ) {
components.Dispose();
}
base.Dispose( disposing );
}
#region コンポーネント デザイナで生成されたコード
/// <summary>
/// デザイナ サポートに必要なメソッドです。このメソッドの内容を
/// コード エディタで変更しないでください。
/// </summary>
private void InitializeComponent()
{
this.trackFeder = new org.kbinani.windows.forms.BSlider();
this.trackPanpot = new org.kbinani.windows.forms.BSlider();
this.txtPanpot = new org.kbinani.windows.forms.BTextBox();
this.lblTitle = new org.kbinani.windows.forms.BLabel();
this.txtFeder = new org.kbinani.windows.forms.BTextBox();
this.chkMute = new org.kbinani.windows.forms.BCheckBox();
this.chkSolo = new org.kbinani.windows.forms.BCheckBox();
((System.ComponentModel.ISupportInitialize)(this.trackFeder)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.trackPanpot)).BeginInit();
this.SuspendLayout();
//
// trackFeder
//
this.trackFeder.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.trackFeder.AutoSize = false;
this.trackFeder.Location = new System.Drawing.Point( 21, 58 );
this.trackFeder.Maximum = 151;
this.trackFeder.Minimum = 26;
this.trackFeder.Name = "trackFeder";
this.trackFeder.Orientation = System.Windows.Forms.Orientation.Vertical;
this.trackFeder.Size = new System.Drawing.Size( 45, 144 );
this.trackFeder.TabIndex = 0;
this.trackFeder.TickFrequency = 10;
this.trackFeder.TickStyle = System.Windows.Forms.TickStyle.Both;
this.trackFeder.Value = 100;
//
// trackPanpot
//
this.trackPanpot.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.trackPanpot.AutoSize = false;
this.trackPanpot.Location = new System.Drawing.Point( 3, 208 );
this.trackPanpot.Margin = new System.Windows.Forms.Padding( 3, 3, 3, 0 );
this.trackPanpot.Maximum = 64;
this.trackPanpot.Minimum = -64;
this.trackPanpot.Name = "trackPanpot";
this.trackPanpot.Size = new System.Drawing.Size( 79, 21 );
this.trackPanpot.TabIndex = 2;
this.trackPanpot.TickStyle = System.Windows.Forms.TickStyle.None;
//
// txtPanpot
//
this.txtPanpot.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtPanpot.BackColor = System.Drawing.Color.FromArgb( ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))) );
this.txtPanpot.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtPanpot.Location = new System.Drawing.Point( 10, 229 );
this.txtPanpot.Margin = new System.Windows.Forms.Padding( 10, 0, 10, 0 );
this.txtPanpot.Name = "txtPanpot";
this.txtPanpot.Size = new System.Drawing.Size( 65, 19 );
this.txtPanpot.TabIndex = 3;
this.txtPanpot.Text = "0";
this.txtPanpot.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// lblTitle
//
this.lblTitle.BackColor = System.Drawing.Color.White;
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Bottom;
this.lblTitle.Location = new System.Drawing.Point( 0, 261 );
this.lblTitle.Margin = new System.Windows.Forms.Padding( 0 );
this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size( 85, 23 );
this.lblTitle.TabIndex = 4;
this.lblTitle.Text = "TITLE";
this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// txtFeder
//
this.txtFeder.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtFeder.BackColor = System.Drawing.Color.FromArgb( ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))) );
this.txtFeder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtFeder.Location = new System.Drawing.Point( 3, 33 );
this.txtFeder.Name = "txtFeder";
this.txtFeder.Size = new System.Drawing.Size( 79, 19 );
this.txtFeder.TabIndex = 5;
this.txtFeder.Text = "0";
this.txtFeder.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// chkMute
//
this.chkMute.Appearance = System.Windows.Forms.Appearance.Button;
this.chkMute.Location = new System.Drawing.Point( 4, 5 );
this.chkMute.Name = "chkMute";
this.chkMute.Size = new System.Drawing.Size( 22, 22 );
this.chkMute.TabIndex = 6;
this.chkMute.Text = "M";
this.chkMute.UseVisualStyleBackColor = true;
//
// chkSolo
//
this.chkSolo.Appearance = System.Windows.Forms.Appearance.Button;
this.chkSolo.Location = new System.Drawing.Point( 28, 5 );
this.chkSolo.Name = "chkSolo";
this.chkSolo.Size = new System.Drawing.Size( 22, 22 );
this.chkSolo.TabIndex = 7;
this.chkSolo.Text = "S";
this.chkSolo.UseVisualStyleBackColor = true;
//
// VolumeTracker
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.FromArgb( ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))) );
this.Controls.Add( this.chkSolo );
this.Controls.Add( this.chkMute );
this.Controls.Add( this.txtFeder );
this.Controls.Add( this.lblTitle );
this.Controls.Add( this.txtPanpot );
this.Controls.Add( this.trackPanpot );
this.Controls.Add( this.trackFeder );
this.DoubleBuffered = true;
this.Name = "VolumeTracker";
this.Size = new System.Drawing.Size( 85, 284 );
((System.ComponentModel.ISupportInitialize)(this.trackFeder)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.trackPanpot)).EndInit();
this.ResumeLayout( false );
this.PerformLayout();
}
#endregion
private BSlider trackFeder;
private BSlider trackPanpot;
private BTextBox txtPanpot;
private BLabel lblTitle;
private BTextBox txtFeder;
private BCheckBox chkMute;
private BCheckBox chkSolo;
#endregion
#endif
}
#if !JAVA
}
#endif
|