A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://technical.swissmicros.com/dmcp/doc/DMCP-ifc-html/group__menu__item__aux.html below:

DMCP interface: Aux menu item functions

Functions for menu_line_str() formatting. More...

const char *  rb_str (int val)   Returns 'dot' selection string.
  const char *  sel_str (int val)   Returns 'cross' selection string.
  char *  opt_str (char *s, char const *txt, int val)   Format selection string.
  char *  date_str (char *s, const char *txt)   Formats text followed by date.
  char *  time_str (char *s, const char *txt)   Formats text followed by time.
 

Functions for menu_line_str() formatting.

◆ date_str() char * date_str ( char * s, const char * txt )

Formats text followed by date.

Parameters
s Buffer for resulting string txt Text to format
Returns
Into resulting string s formats txt followed by date string in square brackets
◆ opt_str() char * opt_str ( char * s, char const * txt, int val )

Format selection string.

Parameters
s Buffer for resulting string txt Text to format val Selection value
Returns
Into resulting string s formats txt preceded with selection marker given by sel_str(val)
◆ rb_str() const char * rb_str ( int val )

Returns 'dot' selection string.

Parameters
Returns
"(*)" if val > 0, "(_)" otherwise
◆ sel_str() const char * sel_str ( int val )

Returns 'cross' selection string.

Parameters
Returns
"(X)" if val > 0, "(_)" otherwise
◆ time_str() char * time_str ( char * s, const char * txt )

Formats text followed by time.

Parameters
s Buffer for resulting string txt Text to format
Returns
Into resulting string s formats txt followed by time string in square brackets

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4