Home
last modified time | relevance | path

Searched refs:g_conf (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/scummvm/scummvm-2.5.1/engines/glk/zcode/
H A Dscreen.cpp35 g_conf->_tStyles[style_User1].font = CUSTOM; in FrotzScreen()
36 g_conf->_gStyles[style_User1].font = CUSTOM; in FrotzScreen()
37 g_conf->_tStyles[style_User2].font = CUSTOM2; in FrotzScreen()
58 MonoFontInfo &mi = g_conf->_monoInfo; in loadVersion6Fonts()
59 PropFontInfo &pi = g_conf->_propInfo; in loadVersion6Fonts()
70 g_conf->_tMarginX = 3; in loadVersion6Fonts()
71 g_conf->_tMarginY = 3; in loadVersion6Fonts()
74 g_conf->_tStyles[idx].bg = g_conf->_tStylesDefault[idx].bg = zcolor_Transparent; in loadVersion6Fonts()
75 g_conf->_gStyles[idx].bg = g_conf->_gStylesDefault[idx].bg = zcolor_Transparent; in loadVersion6Fonts()
129 …_fonts.push_back(Graphics::loadTTFFont(f, g_conf->_propInfo._size, Graphics::kTTFSizeModeCharacter… in loadExtraFonts()
H A Dwindows.cpp75 PropFontInfo &pi = g_conf->_propInfo; in setup()
132 _properties[FONT_SIZE] = (g_conf->_monoInfo._cellH << 8) | g_conf->_monoInfo._cellW; in update()
173 newSize.x *= g_conf->_monoInfo._cellW; in setSize()
174 newSize.y *= g_conf->_monoInfo._cellH; in setSize()
194 newPos.x *= g_conf->_monoInfo._cellW; in setPosition()
195 newPos.y *= g_conf->_monoInfo._cellH; in setPosition()
242 _windows->_background->fillRect(g_conf->_windowColor, r); in clear()
285 PropFontInfo &pi = g_conf->_propInfo; in setFont()
H A Dglk_interface.cpp128 h_font_width = g_conf->_monoInfo._cellW; in initialize()
129 h_font_height = g_conf->_monoInfo._cellH; in initialize()
134 if (g_conf->_graphics) { in initialize()
251 return g_conf->_monoInfo._cellW; in os_char_width()
532 pt.x *= g_conf->_monoInfo._cellW; in os_draw_picture()
533 pt.y *= g_conf->_monoInfo._cellH; in os_draw_picture()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/frotz/
H A Dscreen.cpp35 g_conf->_tStyles[style_User1].font = CUSTOM; in FrotzScreen()
36 g_conf->_gStyles[style_User1].font = CUSTOM; in FrotzScreen()
37 g_conf->_tStyles[style_User2].font = CUSTOM2; in FrotzScreen()
58 MonoFontInfo &mi = g_conf->_monoInfo; in loadVersion6Fonts()
59 PropFontInfo &pi = g_conf->_propInfo; in loadVersion6Fonts()
70 g_conf->_tMarginX = 3; in loadVersion6Fonts()
71 g_conf->_tMarginY = 3; in loadVersion6Fonts()
74 g_conf->_tStyles[idx].bg = g_conf->_tStylesDefault[idx].bg = zcolor_Transparent; in loadVersion6Fonts()
75 g_conf->_gStyles[idx].bg = g_conf->_gStylesDefault[idx].bg = zcolor_Transparent; in loadVersion6Fonts()
129 …_fonts.push_back(Graphics::loadTTFFont(f, g_conf->_propInfo._size, Graphics::kTTFSizeModeCharacter… in loadExtraFonts()
H A Dwindows.cpp75 PropFontInfo &pi = g_conf->_propInfo; in setup()
132 _properties[FONT_SIZE] = (g_conf->_monoInfo._cellH << 8) | g_conf->_monoInfo._cellW; in update()
173 newSize.x *= g_conf->_monoInfo._cellW; in setSize()
174 newSize.y *= g_conf->_monoInfo._cellH; in setSize()
194 newPos.x *= g_conf->_monoInfo._cellW; in setPosition()
195 newPos.y *= g_conf->_monoInfo._cellH; in setPosition()
242 _windows->_background->fillRect(g_conf->_windowColor, r); in clear()
285 PropFontInfo &pi = g_conf->_propInfo; in setFont()
H A Dglk_interface.cpp128 h_font_width = g_conf->_monoInfo._cellW; in initialize()
129 h_font_height = g_conf->_monoInfo._cellH; in initialize()
134 if (g_conf->_graphics) { in initialize()
251 return g_conf->_monoInfo._cellW; in os_char_width()
532 pt.x *= g_conf->_monoInfo._cellW; in os_draw_picture()
533 pt.y *= g_conf->_monoInfo._cellH; in os_draw_picture()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/
H A Dwindows.cpp276 Point cell(g_conf->_monoInfo._cellW, g_conf->_monoInfo._cellH); in rearrange()
279 int desired_width = g_conf->_wMarginSaveX * 2 + cell.x * g_conf->_cols; in rearrange()
281 g_conf->_wMarginX = g_conf->_wMarginSaveX; in rearrange()
283 g_conf->_wMarginX = (g_conf->_imageW - cell.x * g_conf->_cols) / 2; in rearrange()
287 int desired_height = g_conf->_wMarginSaveY * 2 + cell.y * g_conf->_rows; in rearrange()
289 g_conf->_wMarginY = g_conf->_wMarginSaveY; in rearrange()
291 g_conf->_wMarginY = (g_conf->_imageH - cell.y * g_conf->_rows) / 2; in rearrange()
296 box.right = g_conf->_imageW - g_conf->_wMarginX; in rearrange()
297 box.bottom = g_conf->_imageH - g_conf->_wMarginY; in rearrange()
429 repaint(Rect(0, 0, g_conf->_imageW, g_conf->_imageH)); in redraw()
[all …]
H A Dscreen.cpp45 FontInfo *i = (idx == 0) ? &g_conf->_monoInfo : &g_conf->_propInfo; in initialize()
52 double leading = (double)((idx == 0) ? r2.bottom : r2.bottom + g_conf->_propInfo._lineSeparation); in initialize()
106 double monoAspect = g_conf->_monoInfo._aspect; in loadFonts()
107 double propAspect = g_conf->_propInfo._aspect; in loadFonts()
108 double monoSize = g_conf->_monoInfo._size; in loadFonts()
109 double propSize = g_conf->_propInfo._size; in loadFonts()
149 int baseLine = (fontIdx >= PROPR) ? g_conf->_propInfo._baseLine : g_conf->_monoInfo._baseLine; in drawString()
159 int baseLine = (fontIdx >= PROPR) ? g_conf->_propInfo._baseLine : g_conf->_monoInfo._baseLine; in drawStringUni()
H A Dwindow_text_buffer.cpp52 Common::copy(&g_conf->_tStyles[0], &g_conf->_tStyles[style_NUMSTYLES], _styles); in TextBufferWindow()
78 newwid = MAX((box.width() - g_conf->_tMarginX * 2 - g_conf->_scrollWidth) / _font._cellW, 0); in rearrange()
389 pw = (_bbox.right - _bbox.left - g_conf->_tMarginX * 2 - g_conf->_scrollWidth) * GLI_SUBPIX; in putCharUni()
579 if (g_conf->_safeClicks) in click()
586 if (newPos.y < _bbox.top + g_conf->_tMarginY + g_conf->_scrollWidth) in click()
588 else if (newPos.y > _bbox.bottom - g_conf->_tMarginY - g_conf->_scrollWidth) in click()
825 x1 = (_bbox.right - g_conf->_tMarginX - g_conf->_scrollWidth) * GLI_SUBPIX; in redraw()
1134 y0 += g_conf->_scrollWidth / 2; in redraw()
1152 y0 - g_conf->_scrollWidth / 2 + i, i * 2, 1), g_conf->_scrollFg); in redraw()
1154 y1 + g_conf->_scrollWidth / 2 - i, i * 2, 1), g_conf->_scrollFg); in redraw()
[all …]
H A Dwindow_pair.cpp80 splitwid = g_conf->_wPaddingX; // want border? in rearrange()
82 splitwid = g_conf->_wPaddingY; // want border? in rearrange()
154 int xBord = _wBorder ? g_conf->_wBorderX : 0; in redraw()
155 int xPad = (g_conf->_wPaddingX - xBord) / 2; in redraw()
158 g_conf->_borderColor); in redraw()
160 int yBord = _wBorder ? g_conf->_wBorderY : 0; in redraw()
161 int yPad = (g_conf->_wPaddingY - yBord) / 2; in redraw()
163 g_conf->_borderColor); in redraw()
H A Dglk_api.cpp125 return g_conf->_graphics; in glk_gestalt_ext()
129 return g_conf->_graphics; in glk_gestalt_ext()
131 return g_conf->_graphics; in glk_gestalt_ext()
138 return g_conf->_sound; in glk_gestalt_ext()
457 styles = g_conf->_gStyles; in glk_stylehint_set()
459 styles = g_conf->_tStyles; in glk_stylehint_set()
463 if (!g_conf->_styleHint) in glk_stylehint_set()
524 styles = g_conf->_gStyles; in glk_stylehint_clear()
527 styles = g_conf->_tStyles; in glk_stylehint_clear()
533 if (!g_conf->_styleHint) in glk_stylehint_clear()
[all …]
H A Dstreams.cpp73 if (_writable && g_conf->_styleHint) in setZColors()
78 if (_writable && g_conf->_styleHint) in setReverseVideo()
98 if (g_conf->_safeClicks && g_vm->_events->_forceClick) { in putChar()
117 if (g_conf->_safeClicks && g_vm->_events->_forceClick) { in putCharUni()
241 if (!_writable || !g_conf->_styleHint) in setZColors()
247 PropFontInfo *info = &g_conf->_propInfo; in setZColors()
277 g_conf->_windowColor = g_conf->_windowSave; in setZColors()
278 g_conf->_borderColor = g_conf->_borderSave; in setZColors()
285 g_conf->_windowColor = back; in setZColors()
286 g_conf->_borderColor = back; in setZColors()
[all …]
H A Dwindow_text_grid.cpp32 _font(g_conf->_monoInfo) { in TextGridWindow()
43 Common::copy(&g_conf->_gStyles[0], &g_conf->_gStyles[style_NUMSTYLES], _styles); in TextGridWindow()
203 if (g_conf->_safeClicks) in click()
212 if (g_conf->_safeClicks) in click()
H A Dconf.h107 extern Conf *g_conf;
/dports/games/scummvm/scummvm-2.5.1/engines/glk/
H A Dwindows.cpp269 Point cell(g_conf->_monoInfo._cellW, g_conf->_monoInfo._cellH); in rearrange()
272 int desired_width = g_conf->_wMarginSaveX * 2 + cell.x * g_conf->_cols; in rearrange()
274 g_conf->_wMarginX = g_conf->_wMarginSaveX; in rearrange()
276 g_conf->_wMarginX = (g_conf->_imageW - cell.x * g_conf->_cols) / 2; in rearrange()
280 int desired_height = g_conf->_wMarginSaveY * 2 + cell.y * g_conf->_rows; in rearrange()
282 g_conf->_wMarginY = g_conf->_wMarginSaveY; in rearrange()
284 g_conf->_wMarginY = (g_conf->_imageH - cell.y * g_conf->_rows) / 2; in rearrange()
289 box.right = g_conf->_imageW - g_conf->_wMarginX; in rearrange()
290 box.bottom = g_conf->_imageH - g_conf->_wMarginY; in rearrange()
422 repaint(Rect(0, 0, g_conf->_imageW, g_conf->_imageH)); in redraw()
[all …]
H A Dscreen.cpp45 FontInfo *i = (idx == 0) ? &g_conf->_monoInfo : &g_conf->_propInfo; in initialize()
52 double leading = (double)((idx == 0) ? r2.bottom : r2.bottom + g_conf->_propInfo._lineSeparation); in initialize()
106 double monoAspect = g_conf->_monoInfo._aspect; in loadFonts()
107 double propAspect = g_conf->_propInfo._aspect; in loadFonts()
108 double monoSize = g_conf->_monoInfo._size; in loadFonts()
109 double propSize = g_conf->_propInfo._size; in loadFonts()
161 int baseLine = (fontIdx >= PROPR) ? g_conf->_propInfo._baseLine : g_conf->_monoInfo._baseLine; in drawString()
171 int baseLine = (fontIdx >= PROPR) ? g_conf->_propInfo._baseLine : g_conf->_monoInfo._baseLine; in drawStringUni()
H A Dwindow_text_buffer.cpp52 Common::copy(&g_conf->_tStyles[0], &g_conf->_tStyles[style_NUMSTYLES], _styles); in TextBufferWindow()
54 if (g_conf->_speak) in TextBufferWindow()
59 if (g_conf->_speak) in ~TextBufferWindow()
84 newwid = MAX((box.width() - g_conf->_tMarginX * 2 - g_conf->_scrollWidth) / _font._cellW, 0); in rearrange()
585 if (g_conf->_safeClicks) in click()
592 if (newPos.y < _bbox.top + g_conf->_tMarginY + g_conf->_scrollWidth) in click()
594 else if (newPos.y > _bbox.bottom - g_conf->_tMarginY - g_conf->_scrollWidth) in click()
833 x1 = (_bbox.right - g_conf->_tMarginX - g_conf->_scrollWidth) * GLI_SUBPIX; in redraw()
1160 y0 - g_conf->_scrollWidth / 2 + i, i * 2, 1), g_conf->_scrollFg); in redraw()
1162 y1 + g_conf->_scrollWidth / 2 - i, i * 2, 1), g_conf->_scrollFg); in redraw()
[all …]
H A Dwindow_pair.cpp80 splitwid = g_conf->_wPaddingX; // want border? in rearrange()
82 splitwid = g_conf->_wPaddingY; // want border? in rearrange()
154 int xBord = _wBorder ? g_conf->_wBorderX : 0; in redraw()
155 int xPad = (g_conf->_wPaddingX - xBord) / 2; in redraw()
158 g_conf->_borderColor); in redraw()
160 int yBord = _wBorder ? g_conf->_wBorderY : 0; in redraw()
161 int yPad = (g_conf->_wPaddingY - yBord) / 2; in redraw()
163 g_conf->_borderColor); in redraw()
H A Dglk_api.cpp125 return g_conf->_graphics; in glk_gestalt_ext()
129 return g_conf->_graphics; in glk_gestalt_ext()
131 return g_conf->_graphics; in glk_gestalt_ext()
139 return g_conf->_sound; in glk_gestalt_ext()
461 styles = g_conf->_gStyles; in glk_stylehint_set()
463 styles = g_conf->_tStyles; in glk_stylehint_set()
467 if (!g_conf->_styleHint) in glk_stylehint_set()
531 styles = g_conf->_gStyles; in glk_stylehint_clear()
534 styles = g_conf->_tStyles; in glk_stylehint_clear()
540 if (!g_conf->_styleHint) in glk_stylehint_clear()
[all …]
H A Dstreams.cpp72 if (_writable && g_conf->_styleHint) in setZColors()
77 if (_writable && g_conf->_styleHint) in setReverseVideo()
97 if (g_conf->_safeClicks && g_vm->_events->_forceClick) { in putChar()
116 if (g_conf->_safeClicks && g_vm->_events->_forceClick) { in putCharUni()
240 if (!_writable || !g_conf->_styleHint) in setZColors()
246 PropFontInfo *info = &g_conf->_propInfo; in setZColors()
276 g_conf->_windowColor = g_conf->_windowSave; in setZColors()
277 g_conf->_borderColor = g_conf->_borderSave; in setZColors()
284 g_conf->_windowColor = back; in setZColors()
285 g_conf->_borderColor = back; in setZColors()
[all …]
H A Dwindow_text_grid.cpp32 _font(g_conf->_monoInfo) { in TextGridWindow()
43 Common::copy(&g_conf->_gStyles[0], &g_conf->_gStyles[style_NUMSTYLES], _styles); in TextGridWindow()
45 if (g_conf->_speak) in TextGridWindow()
50 if (g_conf->_speak) in ~TextGridWindow()
220 if (g_conf->_safeClicks) in click()
229 if (g_conf->_safeClicks) in click()
473 if (g_conf->_speakInput) { in acceptLine()
483 if (g_conf->_speakInput) { in acceptLine()
/dports/dns/kadnode/KadNode-2.3.0/src/
H A Dext-tls-client.c46 static mbedtls_ssl_config g_conf; variable
358 mbedtls_ssl_config_init(&g_conf); in tls_client_setup()
361 if ((ret = mbedtls_ssl_config_defaults(&g_conf, in tls_client_setup()
370 mbedtls_ssl_conf_verify(&g_conf, tls_conf_verify, NULL); in tls_client_setup()
373 mbedtls_ssl_conf_rng(&g_conf, mbedtls_ctr_drbg_random, &g_drbg); in tls_client_setup()
374 mbedtls_ssl_conf_read_timeout(&g_conf, 0); in tls_client_setup()
375 mbedtls_ssl_conf_ca_chain(&g_conf, &g_cacert, NULL); in tls_client_setup()
379 if ((ret = mbedtls_ssl_setup(&g_tls_resources[i].ssl, &g_conf)) != 0) { in tls_client_setup()
398 mbedtls_ssl_config_free(&g_conf); in tls_client_free()
H A Dext-tls-server.c40 static mbedtls_ssl_config g_conf; variable
172 mbedtls_ssl_conf_read_timeout(&g_conf, 0); in tls_server_handler()
340 mbedtls_ssl_config_init(&g_conf); in tls_server_setup()
359 if ((ret = mbedtls_ssl_config_defaults(&g_conf, in tls_server_setup()
368 mbedtls_ssl_conf_authmode(&g_conf, MBEDTLS_SSL_VERIFY_REQUIRED); in tls_server_setup()
369 mbedtls_ssl_conf_rng(&g_conf, mbedtls_ctr_drbg_random, &g_drbg); in tls_server_setup()
372 mbedtls_ssl_conf_sni(&g_conf, sni_callback, g_sni_entries); in tls_server_setup()
374 if ((ret = mbedtls_ssl_setup(&g_ssl, &g_conf)) != 0) { in tls_server_setup()
/dports/net/freediameter/freeDiameter-1.5.0/libfdcore/
H A Dcore.c43 static struct fd_config g_conf; variable
208 memset(&g_conf, 0, sizeof(struct fd_config)); in fd_core_initialize()
209 fd_g_config = &g_conf; in fd_core_initialize()
/dports/www/p5-CGI-Ex/CGI-Ex-2.50/samples/benchmark/
H A Dbench_conf_writers.pl89 local $CGI::Ex::Conf::EXT_WRITERS{g_conf} = \&generic_conf_write;
90 $TESTS{g_conf} = sub {
93 $files{g_conf} = $file2;

12