using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace SketchAssistantWPF
{
///
/// Interaction logic for MainWindow.xaml
///
public partial class MainWindow : Window, MVP_View
{
public MainWindow()
{
InitializeComponent();
ProgramPresenter = new MVP_Presenter(this);
}
public enum ButtonState
{
Enabled,
Disabled,
Active
}
///
/// Dialog to select a file.
///
OpenFileDialog openFileDialog = new OpenFileDialog();
///
/// All Lines in the current session
///
List> rightLineList = new List>();
///
/// Queue for the cursorPositions
///
Queue cursorPositions = new Queue();
///
/// The Presenter Component of the MVP-Model
///
MVP_Presenter ProgramPresenter;
/********************************************/
/*** WINDOW SPECIFIC FUNCTIONS START HERE ***/
/********************************************/
private void RedoButton_Click(object sender, RoutedEventArgs e)
{
}
private void UndoButton_Click(object sender, RoutedEventArgs e)
{
}
private void DeleteButton_Click(object sender, RoutedEventArgs e)
{
}
private void DrawButton_Click(object sender, RoutedEventArgs e)
{
}
///
/// Button to create a new Canvas. Will create an empty image
/// which is the size of the left image, if there is one.
/// If there is no image loaded the canvas will be the size of the right picture box
///
private void CanvasButton_Click(object sender, RoutedEventArgs e)
{
ProgramPresenter.NewCanvas();
}
/*************************/
/*** PRESENTER -> VIEW ***/
/*************************/
public void DisplayInLeftPictureBox(Image img)
{
throw new NotImplementedException();
}
public void DisplayInRightPictureBox(Image img)
{
throw new NotImplementedException();
}
public void EnableTimer()
{
throw new NotImplementedException();
}
public Tuple openNewDialog(string Filter)
{
throw new NotImplementedException();
}
public void SetLastActionTakenText(string message)
{
throw new NotImplementedException();
}
public void SetToolStripButtonStatus(string buttonName, MainWindow.ButtonState state)
{
throw new NotImplementedException();
}
public void SetToolStripLoadStatus(string message)
{
throw new NotImplementedException();
}
public void ShowInfoMessage(string message)
{
throw new NotImplementedException();
}
public bool ShowWarning(string message)
{
throw new NotImplementedException();
}
}
}