/** \page development Developer Information This chapter describes FLTK development and documentation. \note documentation with doxygen will be described here.
Assuming that the following source code was written on MS Windows, this example will output the correct label on OS X and X11 as well. Without the conversion call, the label on OS X would read Fahrvergn¸gen with a deformed umlaut u ("cedille", html "¸"). \#code btn = new Fl_Button(10, 10, 300, 25); btn->copy_label(fl_latin1_to_local("Fahrvergnügen")); \#endcode \note If your application uses characters that are not part of both encodings, or it will be used in areas that commonly use different code pages, you might consider upgrading to FLTK 2 which supports UTF-8 encoding. \todo This is an example todo entry, please ignore ! \endcode This will appear in the document:
Assuming that the following source code was written on MS Windows, this example will output the correct label on OS X and X11 as well. Without the conversion call, the label on OS X would read Fahrvergn¸gen with a deformed umlaut u ("cedille", html "¸"). \#code btn = new Fl_Button(10, 10, 300, 25); btn->copy_label(fl_latin1_to_local("Fahrvergnügen")); \#endcode \note If your application uses characters that are not part of both encodings, or it will be used in areas that commonly use different code pages, you might consider upgrading to FLTK 2 which supports UTF-8 encoding. \todo This is an example todo entry, please ignore ! \section development_structure Document Structure \li \b \\page creates a named page \li \b \\section creates a named section within that page \li \b \\subsection creates a named subsection within the current section \li \b \\subsubsection creates a named subsubsection within the current subsection All these statements take a "name" as their first argument, and a title as their second argument. The title can contain spaces. The page, section, and subsection titles are formatted in blue color and a size like \b "
and \
tags within the text to tell doxygen to start or stop a paragraph. In most cases, when doxygen encounters a blank line or some, but not all, \b \\commands in the text it knows that it as reached the start or end of a paragraph. Doxygen also offers the \b \\par command for special paragraph handling. It can be used to provide a paragraph title and also to indent a paragraph. Unfortunately \b \\par won't do what you expect if you want to have doxygen links and sometimes html tags don't work either. \verbatim \par Normal Paragraph with title This paragraph will have a title, but because there is a blank line between the \par and the text, it will have the normal layout. \par Indented Paragraph with title This paragraph will also have a title, but because there is no blank line between the \par and the text, it will be indented. \par It is also possible to have an indented paragraph without title. This is how you indent subsequent paragraphs. \par No link to Fl_Widget::draw() Note that the paragraph title is treated as plain text. Doxygen type links will not work. HTML characters and tags may or may not work. Fl_Widget::draw() links and "html" tags work| [Prev] Migrating Code from FLTK 1.1 to 1.3 | [Index] | Software License [Next] |
| [Prev] Migrating Code from FLTK 1.1 to 1.3 | [Index] | Software License [Next] |