Ejemplo n.º 1
0
			public TAStudioSettings()
			{
				RecentTas = new RecentFiles(8);
				DrawInput = true;
				AutoPause = true;
				FollowCursor = true;
				ScrollSpeed = 1;
				FollowCursorAlwaysScroll = false;
				FollowCursorScrollMethod = "near";
			}
Ejemplo n.º 2
0
			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;
			}
Ejemplo n.º 3
0
		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;
		}
Ejemplo n.º 4
0
			public BasicBotSettings()
			{
				RecentBotFiles = new RecentFiles();
				TurboWhenBotting = true;
			}
Ejemplo n.º 5
0
 public TAStudioSettings()
 {
     RecentTas = new RecentFiles(8);
     DrawInput = true;
     AutoPause = true;
     FollowCursor = true;
 }
Ejemplo n.º 6
0
            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;
            }
Ejemplo n.º 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;
 }