mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 12:22:35 +00:00
0c1c44c14b
Visual mode: added "Reset Local Texture Offsets (UDMF)" action (default key is Ctrl-Shift-R). It will reset upper/middle/lower texture offsets in UDMF and will act exactly as "Reset Texture Offsets" action in other map formats.
62 lines
2.2 KiB
C#
62 lines
2.2 KiB
C#
|
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
|
|
|
/*
|
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
|
* This program is released under GNU General Public License
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#endregion
|
|
|
|
#region ================== Namespaces
|
|
|
|
using System.Windows.Forms;
|
|
|
|
#endregion
|
|
|
|
namespace CodeImp.DoomBuilder.BuilderModes
|
|
{
|
|
// This doesn't do jack shit.
|
|
internal class NullVisualEventReceiver : IVisualEventReceiver
|
|
{
|
|
public NullVisualEventReceiver() { }
|
|
public void OnSelectBegin() { }
|
|
public void OnSelectEnd() { }
|
|
public void OnEditBegin() { }
|
|
public void OnEditEnd() { }
|
|
public void OnMouseMove(MouseEventArgs e) { }
|
|
public void OnChangeTargetHeight(int amount) { }
|
|
public void OnChangeTargetBrightness(bool up) { }
|
|
public void OnChangeTextureOffset(int horizontal, int vertical, bool doSurfaceAngleCorrection) { }
|
|
public virtual void OnChangeTextureScale(float incrementX, float incrementY) { } //mxd
|
|
public void OnResetTextureOffset() { }
|
|
public void OnResetLocalTextureOffset() { } //mxd
|
|
public void OnSelectTexture() { }
|
|
public void OnCopyTexture() { }
|
|
public void OnPasteTexture() { }
|
|
public void OnCopyTextureOffsets() { }
|
|
public void OnPasteTextureOffsets() { }
|
|
public void OnCopyProperties() { }
|
|
public void OnPasteProperties() { }
|
|
public void OnTextureAlign(bool alignx, bool aligny) { }
|
|
public void OnTextureFit(bool fitWidth, bool fitHeight) { } //mxd
|
|
public void OnTextureFloodfill() { }
|
|
public void OnToggleUpperUnpegged() { }
|
|
public void OnToggleLowerUnpegged() { }
|
|
public void OnProcess(float deltatime) { }
|
|
public void OnInsert() { }
|
|
public void OnDelete() { }
|
|
public void ApplyTexture(string texture) { }
|
|
public void ApplyUpperUnpegged(bool set) { }
|
|
public void ApplyLowerUnpegged(bool set) { }
|
|
public string GetTextureName() { return ""; }
|
|
public void SelectNeighbours(bool select, bool withSameTexture, bool withSameHeight) { } //mxd
|
|
public bool IsSelected() { return false; } //mxd
|
|
}
|
|
}
|