Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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;
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// コンストラクター
 /// </summary>
 public drwMapObjectForExport(Control ctl, mgrMapObject parent, drwDXTilePallet pallet, int tilesetFixedID) : base(ctl, parent, pallet, tilesetFixedID)
 {
 }