From 0f69965805dda51cc7b6ea8404226d5f75a3b533 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 19 Feb 2017 11:32:17 +0000 Subject: clean up some of the doxygen generation warnings --- frontends/riscos/corewindow.c | 4 +++- frontends/riscos/corewindow.h | 4 ++++ frontends/riscos/plotters.c | 10 +++++----- 3 files changed, 12 insertions(+), 6 deletions(-) (limited to 'frontends/riscos') diff --git a/frontends/riscos/corewindow.c b/frontends/riscos/corewindow.c index 3219be985..89132853d 100644 --- a/frontends/riscos/corewindow.c +++ b/frontends/riscos/corewindow.c @@ -378,7 +378,7 @@ ro_cw_drag_start(struct ro_corewindow *ro_cw, * The wimp has issued an event to the window because the pointer has * entered it. * - * \param open The open event to be processed + * \param entering The entering event to be processed */ static void ro_cw_pointer_entering(wimp_entering *entering) { @@ -664,6 +664,8 @@ static void cw_tb_update(void *ctx) * Respond to user actions (click) in a corewindow. * * \param ctx Context as passed to toolbar creation. + * \param action_type type of action on toolbar + * \param action data for action. */ static void cw_tb_click(void *ctx, diff --git a/frontends/riscos/corewindow.h b/frontends/riscos/corewindow.h index b340bde35..7d808c298 100644 --- a/frontends/riscos/corewindow.h +++ b/frontends/riscos/corewindow.h @@ -123,6 +123,10 @@ struct ro_corewindow { * As a pre-requisite the draw, key and mouse callbacks must be defined * * \param ro_cw A riscos core window structure to initialise + * \param tb_buttons toolbar button bar context + * \param tb_order The order of toolbar buttons + * \param tb_style The style of toolbar buttons + * \param tb_help Thh toolbar help text * \return NSERROR_OK on successful initialisation otherwise error code. */ nserror ro_corewindow_init(struct ro_corewindow *ro_cw, const struct button_bar_buttons *tb_buttons, char *tb_order, theme_style tb_style, const char *tb_help); diff --git a/frontends/riscos/plotters.c b/frontends/riscos/plotters.c index b12d6c403..b459ba1f9 100644 --- a/frontends/riscos/plotters.c +++ b/frontends/riscos/plotters.c @@ -148,7 +148,7 @@ ro_plot_clip(const struct redraw_context *ctx, const struct rect *clip) * horizontal, in degrees. * * \param ctx The current redraw context. - * \param pstyle Style controlling the arc plot. + * \param style Style controlling the arc plot. * \param x The x coordinate of the arc. * \param y The y coordinate of the arc. * \param radius The radius of the arc. @@ -214,7 +214,7 @@ ro_plot_arc(const struct redraw_context *ctx, * Plot a circle centered on (x,y), which is optionally filled. * * \param ctx The current redraw context. - * \param pstyle Style controlling the circle plot. + * \param style Style controlling the circle plot. * \param x The x coordinate of the circle. * \param y The y coordinate of the circle. * \param radius The radius of the circle. @@ -283,7 +283,7 @@ ro_plot_disc(const struct redraw_context *ctx, * centre of line width/thickness. * * \param ctx The current redraw context. - * \param pstyle Style controlling the line plot. + * \param style Style controlling the line plot. * \param line A rectangle defining the line to be drawn * \return NSERROR_OK on success else error code. */ @@ -328,7 +328,7 @@ ro_plot_line(const struct redraw_context *ctx, * width and height. * * \param ctx The current redraw context. - * \param pstyle Style controlling the rectangle plot. + * \param style Style controlling the rectangle plot. * \param rect A rectangle defining the line to be drawn * \return NSERROR_OK on success else error code. */ @@ -414,7 +414,7 @@ ro_plot_rectangle(const struct redraw_context *ctx, * rule. * * \param ctx The current redraw context. - * \param pstyle Style controlling the polygon plot. + * \param style Style controlling the polygon plot. * \param p verticies of polygon * \param n number of verticies. * \return NSERROR_OK on success else error code. -- cgit v1.2.3