mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-25 18:33:11 +00:00
ui: moved Toolbar to ide/
This commit is contained in:
parent
33b2e92396
commit
afe73e23e3
@ -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};
|
||||
|
@ -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";
|
||||
|
20
src/ide/views/traceviews.ts
Normal file
20
src/ide/views/traceviews.ts
Normal 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() {
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
|
||||
import { Toolbar } from "../common/toolbar";
|
||||
import { Toolbar } from "./toolbar";
|
||||
import { VirtualList } from "../common/vlist";
|
||||
|
||||
const BUILTIN_INPUT_PORTS = [
|
||||
|
Loading…
Reference in New Issue
Block a user