mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Disabled compiling of unused code for the 1.1 release
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2387 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
86dc1fa60d
commit
a57fa7086f
7 changed files with 103 additions and 84 deletions
|
@ -1203,13 +1203,19 @@ namespace Greenshot {
|
|||
updateUndoRedoSurfaceDependencies();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is used when the dropshadow button is used
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
void AddDropshadowToolStripMenuItemClick(object sender, EventArgs e) {
|
||||
DropShadowEffect dropShadowEffect= new DropShadowEffect();
|
||||
DialogResult result = new DropShadowSettingsForm(dropShadowEffect).ShowDialog(this);
|
||||
if (result == DialogResult.OK) {
|
||||
// TODO: Use the dropshadow settings form to make it possible to change the default values
|
||||
//DialogResult result = new DropShadowSettingsForm(dropShadowEffect).ShowDialog(this);
|
||||
//if (result == DialogResult.OK) {
|
||||
surface.ApplyBitmapEffect(dropShadowEffect);
|
||||
updateUndoRedoSurfaceDependencies();
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -1219,20 +1225,27 @@ namespace Greenshot {
|
|||
/// <param name="e"></param>
|
||||
void ResizeToolStripMenuItemClick(object sender, EventArgs e) {
|
||||
ResizeEffect resizeEffect = new ResizeEffect(surface.Image.Width, surface.Image.Height, true);
|
||||
DialogResult result = new ResizeSettingsForm(resizeEffect).ShowDialog(this);
|
||||
if (result == DialogResult.OK) {
|
||||
// TODO: Use the Resize SettingsForm to make it possible to change the default values
|
||||
// DialogResult result = new ResizeSettingsForm(resizeEffect).ShowDialog(this);
|
||||
// if (result == DialogResult.OK) {
|
||||
surface.ApplyBitmapEffect(resizeEffect);
|
||||
updateUndoRedoSurfaceDependencies();
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Call the torn edge effect
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
void TornEdgesToolStripMenuItemClick(object sender, EventArgs e) {
|
||||
TornEdgeEffect tornEdgeEffect = new TornEdgeEffect();
|
||||
DialogResult result = new TornEdgeSettingsForm(tornEdgeEffect).ShowDialog(this);
|
||||
if (result == DialogResult.OK) {
|
||||
surface.ApplyBitmapEffect(tornEdgeEffect);
|
||||
updateUndoRedoSurfaceDependencies();
|
||||
}
|
||||
// TODO: Use the dropshadow settings form to make it possible to change the default values
|
||||
//DialogResult result = new TornEdgeSettingsForm(tornEdgeEffect).ShowDialog(this);
|
||||
//if (result == DialogResult.OK) {
|
||||
surface.ApplyBitmapEffect(tornEdgeEffect);
|
||||
updateUndoRedoSurfaceDependencies();
|
||||
//}
|
||||
}
|
||||
|
||||
void GrayscaleToolStripMenuItemClick(object sender, EventArgs e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue