/// X11 Version
namespace System.Windows.Forms {
- public class XplatUI {
+ internal class XplatUI {
#region Local Variables
static XplatUIDriver driver;
static String default_class_name;
driver.DropTarget=value;
}
}
+
}
#endregion // Subclasses
default_class_name=value;
}
}
+
+ static public Size CursorSize {
+ get {
+ return driver.CursorSize;
+ }
+ }
+
+ static public bool DragFullWindows {
+ get {
+ return driver.DragFullWindows;
+ }
+ }
+
+ static public Size DragSize {
+ get {
+ return driver.DragSize;
+ }
+ }
+
+ static public Size IconSize {
+ get {
+ return driver.IconSize;
+ }
+ }
+
+ static public Size MaxWindowTrackSize {
+ get {
+ return driver.MaxWindowTrackSize;
+ }
+ }
+
+ static public Size MinimizedWindowSize {
+ get {
+ return driver.MinimizedWindowSize;
+ }
+ }
+
+ static public Size MinimizedWindowSpacingSize {
+ get {
+ return driver.MinimizedWindowSpacingSize;
+ }
+ }
+
+ static public Size MinimumWindowSize {
+ get {
+ return driver.MinimumWindowSize;
+ }
+ }
+
+ static public Size MinWindowTrackSize {
+ get {
+ return driver.MinWindowTrackSize;
+ }
+ }
+
+ static public Size SmallIconSize {
+ get {
+ return driver.SmallIconSize;
+ }
+ }
+
+ static public int MouseButtonCount {
+ get {
+ return driver.MouseButtonCount;
+ }
+ }
+
+ static public bool MouseButtonsSwapped {
+ get {
+ return driver.MouseButtonsSwapped;
+ }
+ }
+
+ static public bool MouseWheelPresent {
+ get {
+ return driver.MouseWheelPresent;
+ }
+ }
+
+ static public Rectangle VirtualScreen {
+ get {
+ return driver.VirtualScreen;
+ }
+ }
+
+ static public Rectangle WorkingArea {
+ get {
+ return driver.WorkingArea;
+ }
+ }
#endregion // Public Static Properties
internal static event EventHandler Idle {
driver.SetWindowStyle(handle, cp);
}
- internal static void RefreshWindow(IntPtr handle) {
- driver.RefreshWindow(handle);
+ internal static void UpdateWindow(IntPtr handle) {
+ driver.UpdateWindow(handle);
}
internal static void SetWindowBackground(IntPtr handle, Color color) {
driver.SetWindowPos(handle, x, y, width, height);
}
- internal static void GetWindowPos(IntPtr handle, out int x, out int y, out int width, out int height, out int client_width, out int client_height) {
- driver.GetWindowPos(handle, out x, out y, out width, out height, out client_width, out client_height);
+ internal static void GetWindowPos(IntPtr handle, bool is_toplevel, out int x, out int y, out int width, out int height, out int client_width, out int client_height) {
+ driver.GetWindowPos(handle, is_toplevel, out x, out y, out width, out height, out client_width, out client_height);
}
internal static void Invalidate(IntPtr handle, Rectangle rc, bool clear) {
}
}
- public static void ScrollWindow(IntPtr hwnd, Rectangle rectangle, int XAmount, int YAmount, bool clear) {
+ internal static void ScrollWindow(IntPtr hwnd, Rectangle rectangle, int XAmount, int YAmount, bool clear) {
driver.ScrollWindow(hwnd, rectangle, XAmount, YAmount, clear);
}
- public static void ScrollWindow(IntPtr hwnd, int XAmount, int YAmount, bool clear) {
+ internal static void ScrollWindow(IntPtr hwnd, int XAmount, int YAmount, bool clear) {
driver.ScrollWindow(hwnd, XAmount, YAmount, clear);
}
-
+
+ internal static bool SystrayAdd(IntPtr hwnd, string tip, Icon icon, out ToolTip tt) {
+ return driver.SystrayAdd(hwnd, tip, icon, out tt);
+ }
+
+ internal static void SystrayChange(IntPtr hwnd, string tip, Icon icon, ref ToolTip tt) {
+ driver.SystrayChange(hwnd, tip, icon, ref tt);
+ }
+
+ internal static void SystrayRemove(IntPtr hwnd, ref ToolTip tt) {
+ driver.SystrayRemove(hwnd, ref tt);
+ }
+
+
// Santa's little helper
internal static void Where() {
Console.WriteLine("Here: {0}", new StackTrace().ToString());