private void X_JumpGraphicsTool_Click(object sender, EventArgs e) { if (this.DisplayImageWidth == 0) { return; } GraphicsToolForm f = (GraphicsToolForm)InputFormRef.JumpFormLow <GraphicsToolForm>(); f.Jump(this.DisplayImageWidth , this.DisplayImageHeight , this.DisplayImageAddress , 0 , this.DisplayTSAAddress , 1 , this.DisplayPaletteAddress , 0 , 0 , 0); f.Show(); }
private void GraphicsToolButton_Click(object sender, EventArgs e) { uint image = U.toOffset(D12.Value); uint palette = U.toOffset(D16.Value); int width = 256; int height = 8 * 4; //32 GraphicsToolForm f = (GraphicsToolForm)InputFormRef.JumpFormLow <GraphicsToolForm>(); f.Jump(width , height , image , 0 , 0 , 0 , palette , 0 , 0 , 0); f.Show(); }
private void GraphicsToolButton_Click(object sender, EventArgs e) { uint image = U.toOffset(D0.Value); uint palette = U.toOffset(D8.Value); uint tsa = U.toOffset(D4.Value); int width = 30 * 8; int height = 20 * 8; GraphicsToolForm f = (GraphicsToolForm)InputFormRef.JumpFormLow <GraphicsToolForm>(); f.Jump(width , height , image , 0 , tsa , 1 , palette , 1 , 8 , 0); f.Show(); }
private void GraphicsToolButton_Click(object sender, EventArgs e) { uint image = U.toOffset(P0.Value); uint palette = U.toOffset(P4.Value); uint tsa = U.toOffset(P8.Value); int width = 32 * 8; int height = GetThisImageHeight(); int palette_count = 8; GraphicsToolForm f = (GraphicsToolForm)InputFormRef.JumpFormLow <GraphicsToolForm>(); f.Jump(width , height , image , 0 , tsa , 2 , palette , 0 , palette_count , 0); f.Show(); }