Add ColorPicker Control. (#1668)

* Add ColorPicker Control.

* Add default colors.

* Author name comment removed.

* Scenario renamed.

* Format source code.

* Add commands and KeyBindings.

* ColorPicker comments updated.

* Doc updated.

* Fix relative Layout.

* Add new constructor, with title only.

* Delete one inused line.

* Scenario renammed.

* Doc updated.
This commit is contained in:
Jocelyn NATALI
2022-05-15 00:35:00 +02:00
committed by GitHub
parent a7db7cdec8
commit 09b8ce64da
261 changed files with 3526 additions and 987 deletions

View File

@@ -8,7 +8,7 @@
<title>Terminal.Gui API Overview </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Terminal.Gui API Overview ">
<meta name="generator" content="docfx 2.59.0.0">
<meta name="generator" content="docfx 2.59.2.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
@@ -94,6 +94,7 @@ class Demo {
var n = MessageBox.Query (50, 7,
&quot;Question&quot;, &quot;Do you like console apps?&quot;, &quot;Yes&quot;, &quot;No&quot;);
Application.Shutdown ();
return n;
}
}
@@ -122,6 +123,7 @@ class Demo {
};
Application.Top.Add (label);
Application.Run ();
Application.Shutdown ();
}
}
</code></pre><p>Typically, you will want your application to have more than a label, you might
@@ -151,6 +153,7 @@ class Demo {
// Add both menu and win in a single call
Application.Top.Add (menu, win);
Application.Run ();
Application.Shutdown ();
}
}
</code></pre><h1 id="views">Views</h1>
@@ -294,6 +297,7 @@ class Demo {
// Add both menu and win in a single call
top.Add (win, menu);
Application.Run (top);
Application.Shutdown ();
}
}
</code></pre><h2 id="window-views">Window Views</h2>