summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-10-30 14:23:16 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-10-30 14:23:16 +0000
commit299ebf295a9f729f68d1ad3b923cef9e6747132c (patch)
treebb8ca12853e707816b69d83e2deaef40683a9dd7 /documentation
parent4bed0a3665cfa558009b8ac9b995eac11278c7a7 (diff)
Update tile documentation to be explicit about widgets touching and doing
their own borders. Support CMD+[cxv] for copy/cut/paste on OSX. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl_Tile.html54
-rw-r--r--documentation/enumerations.html5
2 files changed, 40 insertions, 19 deletions
diff --git a/documentation/Fl_Tile.html b/documentation/Fl_Tile.html
index 977326308..13e4379e5 100644
--- a/documentation/Fl_Tile.html
+++ b/documentation/Fl_Tile.html
@@ -1,38 +1,54 @@
-<HTML><BODY>
+<HTML>
+<BODY>
+
<!-- NEW PAGE -->
+
<H2><A name=Fl_Tile>class Fl_Tile</A></H2>
+
<HR>
+
<H3>Class Hierarchy</H3>
-<UL>
-<PRE>
+
+<UL><PRE>
<A href=Fl_Group.html#Fl_Group>Fl_Group</A>
|
+----<B>Fl_Tile</B>
-</PRE>
-</UL>
+</PRE></UL>
+
<H3>Include Files</H3>
-<UL>
-<PRE>
+
+<UL><PRE>
#include &lt;FL/Fl_Tile.H&gt;
-</PRE>
-</UL>
+</PRE></UL>
+
<H3>Description</H3>
- The <TT>Fl_Tile</TT> class lets you resize the children by dragging
+
+<P>The <TT>Fl_Tile</TT> class lets you resize the children by dragging
the border between them:
+
<P ALIGN=CENTER><IMG src="Fl_Tile.gif" ALT="Fl_Tile widget."></P>
+
<P><TT>Fl_Tile</TT> allows objects to be resized to zero dimensions.
- To prevent this you can use the <TT>resizable()</TT> to limit where
-corners can be dragged to. </P>
+To prevent this you can use the <TT>resizable()</TT> to limit where
+corners can be dragged to.</P>
+
<P>Even though objects can be resized to zero sizes, they must
initially have non-zero sizes so the <TT>Fl_Tile</TT> can figure out
-their layout. If desired, call <TT>position()</TT> after creating the
+their layout. If desired, call <TT>position()</TT> after creating the
children but before displaying the window to set the borders where you
-want. </P>
-<P>The &quot;borders&quot; are part of the children, an
- <TT>Fl_Tile</TT> does not
-draw any graphics of it's own. In the above example all the final
-children have <TT>FL_DOWN_BOX</TT> types, and the &quot;ridges&quot; you see are
-two adjacent <TT>FL_DOWN_BOX</TT>'s drawn next to each other. </P>
+want.</P>
+
+<P>The &quot;borders&quot; are part of the children -
+<TT>Fl_Tile</TT> does not draw any graphics of its own. In the
+example above, all of the children have <TT>FL_DOWN_BOX</TT>
+types, and the &quot;ridges&quot; you see are actually two
+adjacent <TT>FL_DOWN_BOX</TT>'s drawn next to each other. All
+neighboring widgets share the same edge - the widget's thick
+borders make it appear as though the widgets aren't actually
+touching, but they are. If the edges of adjacent widgets do not
+touch, then it will be impossible to drag the corresponding
+edges.</P>
+
<H3>Methods</H3>
<UL>
<LI><A href=#Fl_Tile.Fl_Tile>Fl_Tile</A></LI>
diff --git a/documentation/enumerations.html b/documentation/enumerations.html
index c7c1460e1..c5aed2a1c 100644
--- a/documentation/enumerations.html
+++ b/documentation/enumerations.html
@@ -127,10 +127,15 @@ FL_KEYBOARD</TT> and <TT>FL_SHORTCUT</TT> events:
<LI><TT>FL_ALT</TT> - One of the alt keys is down. </LI>
<LI><TT>FL_NUM_LOCK</TT> - The num lock is on. </LI>
<LI><TT>FL_META</TT> - One of the meta/Windows keys is down. </LI>
+<LI><TT>FL_COMMAND</TT> - An alias for <TT>FL_CTRL</TT> on WIN32 and X11, or
+<TT>FL_META</TT> on MacOS X. </LI>
<LI><TT>FL_SCROLL_LOCK</TT> - The scroll lock is on. </LI>
<LI><TT>FL_BUTTON1</TT> - Mouse button 1 is pushed. </LI>
<LI><TT>FL_BUTTON2</TT> - Mouse button 2 is pushed. </LI>
<LI><TT>FL_BUTTON3</TT> - Mouse button 3 is pushed. </LI>
+<LI><TT>FL_BUTTONS</TT> - Any mouse button is pushed. </LI>
+<LI><TT>FL_BUTTON(n)</TT> - Mouse button N (N > 0) is pushed. </LI>
+
</UL>
<!-- NEED 4in -->
<H2><a name=align>Alignment Values</A></H2>