GUI based on FLTK 1.3. More...
Go to the source code of this file.
Macros | |
#define | USE_LINE_COUNT 0 |
Setting this to 1 enables line count in article tree/list (EXPERIMENTAL) | |
#define | USE_ARTICLE_NUMBER 0 |
Setting this to 1 enables article number in article tree/list (EXPERIMENTAL) | |
#define | MAIN_ERR_PREFIX "GUI: " |
Message prefix for MAIN module. | |
#define | UI_STYLES_LEN 9 |
Number of styles for article content syntax highlighting. | |
#define | UI_HDR_BUFSIZE (std::size_t) 998 |
Size of buffer for header field creation. | |
#define | UI_STATIC_STYLE_BUFSIZE (std::size_t) 80 |
Static buffer size for compose window style update callback. | |
#define | UI_XPOST_LIMIT (std::size_t) 10 |
Maximum number of groups for crossposting. | |
#define | UI_AW_REFERENCES 0 |
#define | UI_WINDOW_CLASS Fl_Window |
#define | USE_WINDOW_ICON 0 |
#define | UI_STATUS(s) { if(mainWindow) { mainWindow->statusBar->label(s); } } |
Replace message in main window status bar. | |
#define | UI_READY() |
Clear main window progress bar. More... | |
#define | UI_BUSY() |
Display "Busy" in main window progress bar. More... | |
#define | UI_PROGRESS(s, e) |
Update value of main window progress bar. More... | |
#define | UI_HDR_FIELDS (std::size_t) 14 |
#define | UI_HDR_PAD(s, n) { for(i = 0; i < n; ++i) { s << " "; } } |
Fixed widget colors | |
Override some FLTK defaults that can't be configured via X resources. Selection color for menu | |
#define | UI_COLOR_MENU_SELECTION (Fl_Color) 0x50505000UL |
#define | UI_COLOR_PROGRESS_BAR (Fl_Color) 0x50505000UL |
Color for progress bar. | |
#define | UI_COLOR_RADIO_BUTTON (Fl_Color) 0x50505000UL |
Color for selected radio button. | |
Callback action controls | |
#define | UI_CB_START 0 |
#define | UI_CB_CONTINUE 1 |
#define | UI_CB_FINISH 2 |
Callback cookies | |
#define | UI_CB_COOKIE_SERVER 0U |
#define | UI_CB_COOKIE_GROUPLIST 1U |
#define | UI_CB_COOKIE_GROUPLABELS 2U |
#define | UI_CB_COOKIE_GROUPPROPOSAL 3U |
#define | UI_CB_COOKIE_GROUPINFO1 4U |
#define | UI_CB_COOKIE_GROUPINFO2 5U |
#define | UI_CB_COOKIE_GROUP 6U |
#define | UI_CB_COOKIE_OVERVIEW 7U |
#define | UI_CB_COOKIE_HEADER 8U |
#define | UI_CB_COOKIE_BODY 9U |
#define | UI_CB_COOKIE_MOTD 10U |
#define | UI_CB_COOKIE_ARTICLE 11U |
#define | UI_CB_COOKIE_SRC 12U |
#define | UI_CB_COOKIE_POST 13U |
Encryption algorithms | |
All nonzero values additionally provide server to client authentication via X509 certificate. | |
#define | UI_ENC_NONE 0 |
#define | UI_ENC_STRONG 1 |
#define | UI_ENC_WEAK 2 |
Authentication algorithms (client to server) | |
#define | UI_AUTH_NONE 0 |
#define | UI_AUTH_USER 1 |
Limits for clamp article count (CONF_CAC) configuration value | |
#define | UI_CAC_MIN 10 |
#define | UI_CAC_MAX 50000 |
Enumerations | |
enum | ui_scroll { UI_SCROLL_NONE, UI_SCROLL_TOP, UI_SCROLL_MIDDLE, UI_SCROLL_BOTTOM } |
Functions | |
void | ui_init (int argc, char **argv) |
Init GUI. More... | |
int | ui_exec (void) |
Drive GUI. More... | |
void | ui_exit (void) |
Shutdown GUI. More... | |
int | ui_get_locale_utf8 (void) |
Check whether locale use UTF-8 encoding. More... | |
void | ui_wakeup (unsigned int cookie) |
Wakeup callback (called by core thread after operation has finished) More... | |
int | ui_lock (void) |
Lock for multithread support. More... | |
int | ui_unlock (void) |
Unlock for multithread support. More... | |
GUI based on FLTK 1.3.
Copyright (c) 2012-2024 by the developers. See the LICENSE file for details.
FLTK 1.3 has internal support for Unicode but limited display capabilities on some platforms (no glyph substitution with X11 backend by default).
FLTK 1.4 can be compiled with Pango support for the X11 backend. Doing so gives extended Unicode display capabilities including glyph substitution from multiple fonts.
Definition in file gui.cxx.