stddialog.h File Reference

Main Page Modules Alphabetical List Compound List File List Compound Members File Members

# /home/micah/picogui/pg1/client/c/include/picogui/stddialog.h File Reference

Standard Dialog Boxes. More...

Go to the source code of this file.

## Functions
pghandle | pgDialogBox (const char *title)
| Create a dialog box with title.
int | pgMessageDialog (const char *title, const char *text, u32 flags)
| Create a message dialog box.
int | pgMessageDialogFmt (const char *title, u32 flags, const char *fmt,...)
| Create a message dialog box, with formatting.
int | pgMenuFromString (char *items)
| Create a popup menu from a string.
int | pgMenuFromArray (pghandle *items, int numitems)
| Create a popup menu from string handles.
int | pgDatePicker (int *year, int *month, int *day, const char *title)
| Show a date on a calendar, allow the user to select a new date.
pghandle | pgInputDialog (const char *title, const char *message, pghandle deftxt)
| Allow the user to edit a one-line string.
pghandle | pgFontPicker (const char *title)
| Allow the user to select any font.
const char * | pgFilePicker (pgfilter filefilter, const char *pattern, const char *deffile, int flags, const char *title)
| Select a file to load or save.
int | pgColorPicker (pgcolor *c, const char *title)
| Display a dialog box allowing the user to select a color.

## Detailed Description

Standard Dialog Boxes.

This file defines various standard dialog boxes available in the C client library. Usually this file does not need to be included separately, it is included with `#include <picogui.h>`