From 23a228889afdf8860dabd9a70b789abe3c7ff526 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Mon, 19 May 2014 16:49:59 +0400 Subject: [PATCH] update docs --- docs/platform.html | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/docs/platform.html b/docs/platform.html index 2f559582..f8200f44 100644 --- a/docs/platform.html +++ b/docs/platform.html @@ -26,7 +26,25 @@ Boost License 1.0 Authors:
Vadim Lopatin, coolreader.org@gmail.com

-
abstract class Window; +
enum WindowFlag: uint; +
+
window creation flags

+ +
Resizable
+
window can be resized

+ +
+
Fullscreen
+
window should be shown in fullscreen mode

+ +
+
Modal
+
modal window - grabs input focus

+ +
+
+
+
abstract class Window;
Window abstraction layer. Widgets can be shown only inside window.

@@ -125,6 +143,11 @@ Vadim Lopatin, coolreader.org@gmail.com

request window redraw

+
+
abstract void close(); +
+
close window

+
@@ -134,7 +157,17 @@ Vadim Lopatin, coolreader.org@gmail.com



Represents application.

-
abstract dstring getClipboardText(bool mouseBuffer = false); +
abstract Window createWindow(string windowCaption, Window parent, uint flags = WindowFlag.Resizable); +
+
create window

+ +
+
abstract void closeWindow(Window w); +
+
close window

+ +
+
abstract dstring getClipboardText(bool mouseBuffer = false);
retrieves text from clipboard (when mouseBuffer == true, use mouse selection clipboard - under linux)