Hello,

I'm not sure if the list received this message,
as I sent it before subscribing to it. Just
in case it wasn't received, the original message
follows:

I've just begun using libagar, and while reading
the manual pages I noticed an error in M_Plotter(3).
I don't know what the official way to submit patches
is, so I will just post them here.

M_PlotterUpdate() takes an M_Plotter argument, and
not an M_Plot argument:

--- /usr/man/man3/M_Plotter.3   2013-09-27 07:33:22.000000000 -0400
+++ M_Plotter.3 2013-09-27 13:11:15.000000000 -0400
@@ -190,7 +190,7 @@
 .Fn M_PlotVectorv "M_Plot *pl" "Uint n" "const M_Vector **values"
 .Pp
 .Ft "void"
-.Fn M_PlotterUpdate "M_Plot *pl"
+.Fn M_PlotterUpdate "M_Plotter *ptr"
 .Pp
 .nr nS 0
 .Fn M_PlotNew

Also, the AG_PaneNew function is not documented in
AG_Pane(3), so I figured I could do so:

--- /usr/man/man3/AG_Pane.3     2013-09-27 07:33:21.000000000 -0400
+++ AG_Pane.3   2013-09-27 13:22:35.000000000 -0400
@@ -49,6 +49,9 @@
 .Sh INITIALIZATION
 .nr nS 1
 .Ft "AG_Pane *"
+.Fn AG_PaneNew "AG_Widget *parent" "enum ag_pane_type type" "Uint flags"
+.Pp
+.Ft "AG_Pane *"
 .Fn AG_PaneNewHoriz "AG_Widget *parent" "Uint flags"
 .Pp
 .Ft "AG_Pane *"
@@ -77,13 +80,16 @@
 .Pp
 .nr nS 0
 The
-.Fn AG_PaneNewHoriz
-and
-.Fn AG_PaneNewVert
-functions allocate, initialize, and attach a new
+.Fn AG_PaneNew
+function allocates, initializes, and attaches a new
 .Nm
 container, dividing space in the specified orientation.
-.Pp
+The
+.Fa type
+argument defines the packing as
+.Dv AG_PANE_HORIZ
+or
+.Dv AG_PANE_VERT .
 Acceptable
 .Fa flags
 include:
@@ -115,6 +121,15 @@
 .Xr AG_BoxSetDepth 3
 on the partitions.
 .Pp
+The
+.Fn AG_PaneNewHoriz
+and
+.Fn AG_PaneNewVert
+variants are equivalent to setting
+.Dv AG_PANE_HORIZ
+and
+.Dv AG_PANE_VERT .
+.Pp
 By default, the two
 .Xr AG_Box 3
 sub-containers of

--
pap


_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to