added doxygen comments for remaining functions in fl_draw.H
Fl/fl_draw.H: \todo for fl_set_status(), fl_set_spot(), fl_reset_spot() src/fl_symbols.cxx: fl_add_symbol(), fl_draw_symbol() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
023b77a1ab
commit
6eb194ae48
@ -444,8 +444,11 @@ FL_EXPORT const char* fl_expand_text(const char* from, char* buf, int maxbuf,
|
||||
int wrap, int draw_symbols = 0);
|
||||
|
||||
// XIM:
|
||||
/** \todo provide user documentation for fl_set_status function */
|
||||
FL_EXPORT void fl_set_status(int X, int Y, int W, int H);
|
||||
/** \todo provide user documentation for fl_set_spot function */
|
||||
FL_EXPORT void fl_set_spot(int font, int size, int X, int Y, int W, int H, Fl_Window *win=0);
|
||||
/** \todo provide user documentation for fl_reset_spot function*/
|
||||
FL_EXPORT void fl_reset_spot(void);
|
||||
|
||||
|
||||
|
@ -77,8 +77,14 @@ static void fl_init_symbols(void);
|
||||
|
||||
/**************** The routines seen by the user *************************/
|
||||
|
||||
/**
|
||||
Adds a symbol to the system.
|
||||
\param[in] name name of symbol (without the "@")
|
||||
\param[in] drawit function to draw symbol
|
||||
\param[in] scalable set to 1 if \a drawit uses scalable vector drawing
|
||||
\returns 1 on success, 0 on failure
|
||||
*/
|
||||
int fl_add_symbol(const char *name, void (*drawit)(Fl_Color), int scalable)
|
||||
/* Adds a symbol to the system. Returns whether correct. */
|
||||
{
|
||||
fl_init_symbols();
|
||||
int pos;
|
||||
@ -94,6 +100,14 @@ int fl_add_symbol(const char *name, void (*drawit)(Fl_Color), int scalable)
|
||||
|
||||
int fl_return_arrow(int x,int y,int w,int h);
|
||||
|
||||
/**
|
||||
Draw the named symbol in the given rectangle using the given color
|
||||
\param[in] label name of symbol
|
||||
\param[in] x,y position of symbol
|
||||
\param[in] w,h size of symbol
|
||||
\param[in] col color of symbox
|
||||
\returns 1 on success, 0 on failure
|
||||
*/
|
||||
// provided for back compatibility:
|
||||
int fl_draw_symbol(const char *label,int x,int y,int w,int h,Fl_Color col) {
|
||||
const char *p = label;
|
||||
|
Loading…
Reference in New Issue
Block a user