using System; using System.Drawing; namespace DesktopMagicPluginAPI { /// /// Defines properties and methods that provide information about the main application. /// public interface IPluginData { /// /// Gets the current font of the current theme. /// [Obsolete("Use the \"Theme\" property instead")] string Font { get; } /// /// Gets the current color of the current theme. /// [Obsolete("Use the \"Theme\" property instead")] Color Color { get; } /// /// Gets the current theme setting of the main application. /// ITheme Theme { get; } /// /// Gets the window size of the plugin window. /// Size WindowSize { get; } /// /// Gets the window position of the plugin window. /// Point WindowPosition { get; } /// /// Gets the name of the plugin. /// string PluginName { get; } /// /// Gets the path of the parent directory of the plugin. /// string PluginPath { get; } /// /// Updates the plugin window. /// void UpdateWindow(); } }