1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-29 14:51:17 +00:00

ui: moved Toolbar to ide/

This commit is contained in:
Steven Hugg 2022-09-03 10:24:10 -05:00
parent 33b2e92396
commit afe73e23e3
5 changed files with 23 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { hex, rgb2bgr, rle_unpack } from "../common/util";
import { ProjectWindows } from "./windows";
import { Toolbar } from "../common/toolbar";
import { Toolbar } from "./toolbar";
import Mousetrap = require('mousetrap');
export type UintArray = number[] | Uint8Array | Uint16Array | Uint32Array; //{[i:number]:number};

View File

@ -7,7 +7,7 @@ import { WorkerResult, WorkerOutputResult, WorkerError, FileData, WorkerErrorRes
import { ProjectWindows } from "./windows";
import { Platform, Preset, DebugSymbols, DebugEvalCondition, isDebuggable, EmuState } from "../common/baseplatform";
import { PLATFORMS, EmuHalt } from "../common/emu";
import { Toolbar } from "../common/toolbar";
import { Toolbar } from "./toolbar";
import { getFilenameForPath, getFilenamePrefix, highlightDifferences, byteArrayToString, compressLZG, stringToByteArray,
byteArrayToUTF8, isProbablyBinary, getWithBinary, getBasePlatform, getRootBasePlatform, hex, loadScript, decodeQueryString, parseBool } from "../common/util";
import { StateRecorderImpl } from "../common/recorder";

View File

@ -0,0 +1,20 @@
import { StateRecorderImpl } from "../../common/recorder";
import { ProjectView } from "./baseviews";
export class TracePlaybackView implements ProjectView {
maindiv : HTMLElement;
recreateOnResize = true;
totalRows = 0x1400;
stateRecorder : StateRecorderImpl;
createDiv(parent : HTMLElement) {
var div = document.createElement('div');
div.setAttribute("class", "memdump");
parent.appendChild(div);
return this.maindiv = div;
}
tick() {
}
refresh() {
}
}

View File

@ -1,5 +1,5 @@
import { Toolbar } from "../common/toolbar";
import { Toolbar } from "./toolbar";
import { VirtualList } from "../common/vlist";
const BUILTIN_INPUT_PORTS = [