mirror of
https://github.com/greenshot/greenshot
synced 2025-07-15 01:23:47 -07:00
Fixed problems in the designer with the last changes, also added some future code which is disabled. And uncommented the "Greenshot-filetype" registration in the installer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2375 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
3115c927b7
commit
e11450f56f
7 changed files with 161 additions and 17 deletions
|
@ -28,8 +28,7 @@ namespace GreenshotPlugin.Controls {
|
|||
/// <summary>
|
||||
/// Extend this Form to have the possibility for animations on your form
|
||||
/// </summary>
|
||||
public abstract class AnimatingForm : Form {
|
||||
protected static CoreConfiguration coreConfiguration = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
public class AnimatingForm : GreenshotForm {
|
||||
private int vRefresh = 0;
|
||||
private Timer timer = null;
|
||||
|
||||
|
@ -111,6 +110,8 @@ namespace GreenshotPlugin.Controls {
|
|||
/// <summary>
|
||||
/// This method will be called every frame, so implement your animation/redraw logic here.
|
||||
/// </summary>
|
||||
protected abstract void Animate();
|
||||
protected virtual void Animate() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue