コード例 #1
0
ファイル: TAStudio.cs プロジェクト: TechnoTaff/BizHawk
			public TAStudioSettings()
			{
				RecentTas = new RecentFiles(8);
				DrawInput = true;
				AutoPause = true;
				FollowCursor = true;
				ScrollSpeed = 1;
				FollowCursorAlwaysScroll = false;
				FollowCursorScrollMethod = "near";
			}
コード例 #2
0
ファイル: TAStudio.cs プロジェクト: TraceBullet/BizHawk
			public TAStudioSettings()
			{
				RecentTas = new RecentFiles(8);
				DrawInput = true;
				AutoPause = true;
				FollowCursor = true;
				ScrollSpeed = 1;
				FollowCursorAlwaysScroll = false;
				FollowCursorScrollMethod = "near";
                // default to taseditor fashion
                denoteStatesWithIcons = false;
                denoteStatesWithBGColor = true;
                denoteMarkersWithIcons = false;
                denoteMarkersWithBGColor = true;
			}
コード例 #3
0
ファイル: HexEditor.cs プロジェクト: TechnoTaff/BizHawk
		public HexEditor()
		{
			RecentTables = new RecentFiles(8);
			DataSize = 1;

			var font = new Font("Courier New", 8);

			// Measure the font. There seems to be some extra horizontal padding on the first
			// character so we'll see how much the width increases on the second character.
			var fontSize1 = TextRenderer.MeasureText("0", font);
			var fontSize2 = TextRenderer.MeasureText("00", font);
			fontWidth = fontSize2.Width - fontSize1.Width;
			fontHeight = fontSize1.Height;

			InitializeComponent();
			AddressesLabel.BackColor = Color.Transparent;
			LoadConfigSettings();
			SetHeader();
			Closing += (o, e) => SaveConfigSettings();

			Header.Font = font;
			AddressesLabel.Font = font;
			AddressLabel.Font = font;
		}
コード例 #4
0
ファイル: BasicBot.cs プロジェクト: Suboptimalplay/BizHawk
			public BasicBotSettings()
			{
				RecentBotFiles = new RecentFiles();
				TurboWhenBotting = true;
			}
コード例 #5
0
ファイル: TAStudio.cs プロジェクト: TomzxForks/BizHawk
 public TAStudioSettings()
 {
     RecentTas = new RecentFiles(8);
     DrawInput = true;
     AutoPause = true;
     FollowCursor = true;
 }
コード例 #6
0
ファイル: RamSearch.cs プロジェクト: cas1993per/bizhawk
            public RamSearchSettings()
            {
                Columns = new ColumnList
                {
                    new Column { Name = WatchList.ADDRESS, Visible = true, Index = 0, Width = 60 },
                    new Column { Name = WatchList.VALUE, Visible = true, Index = 1, Width = 59 },
                    new Column { Name = WatchList.PREV, Visible = true, Index = 2, Width = 59 },
                    new Column { Name = WatchList.CHANGES, Visible = true, Index = 3, Width = 55 },
                    new Column { Name = WatchList.DIFF, Visible = false, Index = 4, Width = 59 },
                };

                PreviewMode = true;
                RecentSearches = new RecentFiles(8);
                AutoSearchTakeLagFramesIntoAccount = true;
            }
コード例 #7
0
 public TAStudioSettings()
 {
     RecentTas = new RecentFiles(8);
     DrawInput = true;
     AutoPause = true;
     FollowCursor = true;
     ScrollSpeed = 6;
     FollowCursorAlwaysScroll = false;
     FollowCursorScrollMethod = "near";
     BranchCellHoverInterval = 1;
     SeekingCutoffInterval = 2; // unused, relying on VisibleRows is smarter
     AutoRestoreOnMouseUpOnly = true;
     AutosaveInterval = 120000;
     AutosaveAsBk2 = false;
     AutosaveAsBackupFile = false;
     BackupPerFileSave = false;
     // default to taseditor fashion
     denoteStatesWithIcons = false;
     denoteStatesWithBGColor = true;
     denoteMarkersWithIcons = false;
     denoteMarkersWithBGColor = true;
 }