"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Pinta.Core/Managers/ChromeManager.cs" between
pinta-1.7.tar.gz and pinta-1.7.1.tar.gz

About: Pinta is a powerful image drawing and editing program (modeled after Paint.NET).

ChromeManager.cs  (pinta-1.7):ChromeManager.cs  (pinta-1.7.1)
skipping to change at line 42 skipping to change at line 42
public class ChromeManager public class ChromeManager
{ {
private Toolbar tool_toolbar; private Toolbar tool_toolbar;
private Window main_window; private Window main_window;
private IProgressDialog progress_dialog; private IProgressDialog progress_dialog;
private bool main_window_busy; private bool main_window_busy;
private Gdk.Point last_canvas_cursor_point; private Gdk.Point last_canvas_cursor_point;
private MenuBar main_menu; private MenuBar main_menu;
private Toolbar main_toolbar; private Toolbar main_toolbar;
private ErrorDialogHandler error_dialog_handler; private ErrorDialogHandler error_dialog_handler;
private UnsupportedFormatDialogHandler unsupported_format_dialog_ handler;
public Toolbar ToolToolBar { get { return tool_toolbar; } } public Toolbar ToolToolBar { get { return tool_toolbar; } }
public Toolbar MainToolBar { get { return main_toolbar; } } public Toolbar MainToolBar { get { return main_toolbar; } }
public Window MainWindow { get { return main_window; } } public Window MainWindow { get { return main_window; } }
public IProgressDialog ProgressDialog { get { return progress_dia log; } } public IProgressDialog ProgressDialog { get { return progress_dia log; } }
public MenuBar MainMenu { get { return main_menu; } } public MenuBar MainMenu { get { return main_menu; } }
public ChromeManager () public ChromeManager ()
{ {
} }
skipping to change at line 111 skipping to change at line 112
throw new ArgumentNullException ("progressDialog" ); throw new ArgumentNullException ("progressDialog" );
progress_dialog = progressDialog; progress_dialog = progressDialog;
} }
public void InitializeErrorDialogHandler (ErrorDialogHandler hand ler) public void InitializeErrorDialogHandler (ErrorDialogHandler hand ler)
{ {
error_dialog_handler = handler; error_dialog_handler = handler;
} }
public void InitializeUnsupportedFormatDialog (UnsupportedFormatD
ialogHandler handler)
{
unsupported_format_dialog_handler = handler;
}
public void ShowErrorDialog (Window parent, string message, strin g details) public void ShowErrorDialog (Window parent, string message, strin g details)
{ {
error_dialog_handler (parent, message, details); error_dialog_handler (parent, message, details);
} }
public void ShowUnsupportedFormatDialog (Window parent, string me
ssage, string details)
{
unsupported_format_dialog_handler (parent, message, detai
ls);
}
public void SetStatusBarText (string text) public void SetStatusBarText (string text)
{ {
OnStatusBarTextChanged (text); OnStatusBarTextChanged (text);
} }
#endregion #endregion
#region Protected Methods #region Protected Methods
protected void OnLastCanvasCursorPointChanged () protected void OnLastCanvasCursorPointChanged ()
{ {
if (LastCanvasCursorPointChanged != null) if (LastCanvasCursorPointChanged != null)
skipping to change at line 153 skipping to change at line 164
{ {
void Show (); void Show ();
void Hide (); void Hide ();
string Title { get; set; } string Title { get; set; }
string Text { get; set; } string Text { get; set; }
double Progress { get; set; } double Progress { get; set; }
event EventHandler<EventArgs> Canceled; event EventHandler<EventArgs> Canceled;
} }
public delegate void ErrorDialogHandler(Window parent, string message, st ring details); public delegate void ErrorDialogHandler(Window parent, string message, st ring details);
public delegate void UnsupportedFormatDialogHandler(Window parent, string message, string details);
} }
 End of changes. 4 change blocks. 
0 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)