/// <summary> /// コンストラクター /// </summary> public drwMapObject(Control ctl, mgrMapObject parent, drwDXTilePallet pallet, int tilesetFixedID) : base(ctl, Media.DXInterpolation.Nearest) { this.parent = parent; this.pallet = pallet; this.Fonts = new int[Common.GetEnumCount <SpecialFont>()]; this.tilesetFixedID = tilesetFixedID; }
/// <summary> /// コンストラクター /// </summary> public ctlMapViewer() { this.InitializeComponent(); Common.EnableDoubleBuffering(this); this.tolScale.Items.AddRange(ViewScale.GetNames()); this.pnlPreview.MouseWheel += this.pnlPreview_MouseWheel; this.mgr = new mgrMapObject(this.UndoRedo) { //ビューア専用の設定 CurrentLayer = -1, VisibleGrid = false }; for (var i = 0; i < (int)Map.Layer.Event; i++) { this.mgr.SwitchLayers[i] = true; } }
/// <summary> /// コンストラクター /// </summary> public drwMapObjectForExport(Control ctl, mgrMapObject parent, drwDXTilePallet pallet, int tilesetFixedID) : base(ctl, parent, pallet, tilesetFixedID) { }