/dports/sysutils/gkrellm2/gkrellm-2.3.11/src/ |
H A D | config.c | 810 _GK.bg_chart_piximage_list, _GK.chart_name_list); 812 _GK.bg_panel_piximage_list, _GK.chart_name_list); 814 _GK.bg_meter_piximage_list, _GK.meter_name_list); 819 &_GK.decal_misc_pixmap, &_GK.decal_misc_mask, -1, 1528 _GK.rx_led_x = _GK.rx_led_x * _GK.theme_scale / 100; 1529 _GK.rx_led_y = _GK.rx_led_y * _GK.theme_scale / 100; 1530 _GK.tx_led_x = _GK.tx_led_x * _GK.theme_scale / 100; 1531 _GK.tx_led_y = _GK.tx_led_y * _GK.theme_scale / 100; 2175 _GK.theme_alternative = _GK.theme_n_alternatives; 2242 _GK.theme_alternative = _GK.theme_n_alternatives; [all …]
|
H A D | main.c | 172 if (!_GK.large_font || !_GK.normal_font || !_GK.small_font) in setup_fonts() 278 &_GK.x_position, &_GK.y_position); in set_or_save_position() 616 _GK.x_position, _GK.y_position); in top_frame_button_release() 689 w = _GK.chart_width + _GK.frame_left_width + _GK.frame_right_width; in apply_frame_transparency() 810 w = _GK.chart_width + _GK.frame_left_width + _GK.frame_right_width; in create_frame_top() 848 w = _GK.chart_width + _GK.frame_left_width + _GK.frame_right_width; in create_frame_bottom() 1211 _GK.x_position, _GK.y_position); in gkrellm_pack_side_frames() 1279 w = _GK.chart_width + _GK.frame_left_width + _GK.frame_right_width; in fix_edges() 2244 _GK.server, _GK.server_port); in main() 2258 _GK.server, _GK.server_port); in main() [all …]
|
H A D | winops-win32.c | 56 gkrellm_winop_state_above(_GK.on_top); in gkrellm_winop_options() 67 gint newX = _GK.x_position; in gkrellm_winop_place_gkrellm() 68 gint newY = _GK.y_position; in gkrellm_winop_place_gkrellm() 109 w_gkrell = _GK.chart_width + _GK.frame_left_width + _GK.frame_right_width; in gkrellm_winop_place_gkrellm() 110 h_gkrell = _GK.monitor_height + _GK.total_frame_height; in gkrellm_winop_place_gkrellm() 120 newX = _GK.w_display - w_gkrell + newX; in gkrellm_winop_place_gkrellm() 140 _GK.y_position = newY; in gkrellm_winop_place_gkrellm() 141 _GK.x_position = newX; in gkrellm_winop_place_gkrellm() 144 _GK.position_valid = TRUE; in gkrellm_winop_place_gkrellm() 180 gdk_gc_set_clip_mask(_GK.text_GC, NULL); in gkrellm_winop_draw_rootpixmap_onto_transparent_chart() [all …]
|
H A D | winops-x11.c | 242 if (!_GK.is_dock_type) 249 if (!_GK.is_dock_type) 362 else if (_GK.x_position == _GK.w_display - width) 404 if (_GK.dock_type && !_GK.command_line_decorated) 425 if (_GK.state_above) 432 if (_GK.state_below) 449 if (!_GK.withdrawn) 479 w_gkrell = _GK.chart_width + _GK.frame_left_width + _GK.frame_right_width; 480 h_gkrell = _GK.monitor_height + _GK.total_frame_height; 487 _GK.y_position = y; [all …]
|
H A D | hostname.c | 293 if (!_GK.client_mode || !GK.second_tick) 325 && _GK.time_now > 326 _GK.client_server_read_time + _GK.client_server_io_timeout 433 if (_GK.client_mode) 440 if (_GK.enable_hostname) 463 hostname_visible = _GK.enable_hostname; 464 hostname_short = _GK.hostname_short; 514 hostname_short = _GK.hostname_short; 532 if (_GK.client_mode && server_alert) 585 if (_GK.client_mode) [all …]
|
H A D | plugins.c | 53 if (_GK.client_mode) in gkrellm_get_hostname() 63 return _GK.theme_path; in gkrellm_get_theme_path() 421 gc = _GK.draw1_GC; in gkrellm_draw_GC() 423 gc = _GK.draw2_GC; in gkrellm_draw_GC() 425 gc = _GK.draw3_GC; in gkrellm_draw_GC() 433 return _GK.bit0_GC; in gkrellm_bit_GC() 435 return _GK.bit1_GC; in gkrellm_bit_GC() 537 return &_GK.in_color; in gkrellm_in_color() 549 return _GK.demo; in gkrellm_demo_mode() 576 return _GK.debug; in gkrellm_plugin_debug() [all …]
|
H A D | panel.c | 81 _GK.any_transparency |= p->transparency; 388 if (_GK.frame_left_panel_overlap > 0 || _GK.frame_right_panel_overlap > 0) 389 _GK.need_frame_packing = TRUE; 398 if (_GK.frame_left_panel_overlap > 0 || _GK.frame_right_panel_overlap > 0) 399 _GK.need_frame_packing = TRUE; 431 p->w = _GK.chart_width; 458 if (_GK.frame_left_panel_overlap > 0 || _GK.frame_right_panel_overlap > 0) 461 _GK.frame_left_panel_overlap, 0, 463 - _GK.frame_left_panel_overlap 464 - _GK.frame_right_panel_overlap, [all …]
|
H A D | gui.c | 866 n = _GK.update_HZ; in cb_HZ_spin() 937 _GK.state_above = n; in cb_general() 950 _GK.state_below = n; in cb_general() 1107 if (_GK.client_mode) in create_general_tab() 1162 if (_GK.dock_type) in create_general_tab() 1396 name = *(_GK.theme_path) ? _GK.theme_path : "Default"; in find_theme_position_in_list() 1574 if (!theme_modified || _GK.command_line_theme || _GK.demo || _GK.no_config) in gkrellm_save_theme_config() 1608 if (!_GK.theme_path) in gkrellm_load_theme_config() 1721 if (_GK.no_config) in cb_load_theme() 1728 if (_GK.theme_alternative > _GK.theme_n_alternatives) in cb_load_theme() [all …]
|
H A D | krell.c | 231 _GK.text_GC, 920 left = _GK.chart_width - 3; 968 k->x0 = _GK.chart_width - 3; 1003 w_render = _GK.chart_width; 1358 d->w = _GK.chart_width; 1755 if (x + w > _GK.chart_width) 1756 w = _GK.chart_width - x; 1851 _GK.button_panel_out_piximage, _GK.button_panel_in_piximage); 1878 _GK.button_meter_out_piximage, _GK.button_meter_in_piximage); 1900 ? _GK.button_meter_out_piximage : _GK.button_panel_out_piximage; [all …]
|
H A D | chart.c | 1517 gdk_gc_set_foreground(_GK.draw1_GC, &_GK.in_color_grid); 1542 gdk_gc_set_foreground(_GK.draw1_GC, &_GK.in_color_grid); 1556 &_GK.data_in_grid_pixmap, &_GK.in_color_grid); 1558 &_GK.data_out_grid_pixmap, &_GK.out_color_grid); 1589 &_GK.data_in_pixmap, &_GK.in_color, h); 1591 &_GK.data_out_pixmap, &_GK.out_color, h); 1747 _GK.frame_left_chart_overlap, _GK.frame_right_chart_overlap)) 1753 _GK.frame_left_chart_overlap, _GK.frame_right_chart_overlap)) 1787 - _GK.frame_left_chart_overlap - _GK.frame_right_chart_overlap; 1801 -_GK.frame_left_chart_overlap, -_GK.frame_right_chart_overlap, [all …]
|
H A D | pixops.c | 113 gdk_pixbuf_render_to_drawable(pixbuf, *pixmap, _GK.draw1_GC, in _render_to_pixmap() 144 else if (w_dst < 0 && (w_dst = w_src * _GK.theme_scale / 100) <= 0) in gkrellm_scale_pixbuf_to_pixmap() 149 else if (h_dst < 0 && (h_dst = h_src * _GK.theme_scale / 100) <= 0) in gkrellm_scale_pixbuf_to_pixmap() 209 else if (w_dst < 0 && (w_dst = w_src * _GK.theme_scale / 100) <= 0) in gkrellm_scale_piximage_to_pixbuf() 404 gdk_pixbuf_render_to_drawable(dst_pixbuf, drawable, _GK.draw1_GC, in gkrellm_paste_piximage() 429 gdk_pixbuf_render_to_drawable(dst_pixbuf, drawable, _GK.draw1_GC, in gkrellm_paste_pixbuf() 447 if (_GK.theme_scale == 100) in gkrellm_scale_theme_background() 480 l = bdr.left * _GK.theme_scale / 100; in gkrellm_scale_theme_background() 481 r = bdr.right * _GK.theme_scale / 100; in gkrellm_scale_theme_background() 482 t = bdr.top * _GK.theme_scale / 100; in gkrellm_scale_theme_background() [all …]
|
H A D | client.c | 590 if (_GK.debug_level & DEBUG_INET) in client_inet_line_from_server() 1318 g_free(_GK.server_hostname); in client_hostname_setup() 1325 g_free(_GK.server_sysname); in client_sysname_setup() 1326 _GK.server_sysname = g_strdup(s); in client_sysname_setup() 1429 _GK.server, _GK.server_port, line, _GK.server); in client_server_error() 1820 if (_GK.time_now > 0) in read_server_input() 1821 _GK.client_server_read_time = _GK.time_now; in read_server_input() 1931 if (_GK.server_port == 0) in gkrellm_client_mode_connect() 1934 client_fd = gkrellm_connect_to(_GK.server, _GK.server_port); in gkrellm_client_mode_connect() 1978 else if (_GK.client_mode) in gkrellm_client_server_connect_state() [all …]
|
H A D | uptime.c | 58 if (!read_uptime && !_GK.client_mode && gkrellm_sys_uptime_init()) in setup_uptime_interface() 147 if (GK.ten_second_tick || _GK.up_minutes < 0) in update_uptime() 153 up_minutes = (gint)(time(0) - _GK.start_time + base_uptime) / 60; in update_uptime() 154 if (_GK.up_minutes != up_minutes) in update_uptime() 156 _GK.up_minutes = up_minutes; in update_uptime() 201 _GK.up_minutes = -1; in create_uptime()
|
H A D | winops-gtk-mac.c | 127 if ( !_GK.allow_multiple_instances_real in gkrellm_winop_options() 128 && !_GK.force_host_config in gkrellm_winop_options()
|
H A D | net.c | 379 if (!name || !*name || _GK.client_mode) in gkrellm_net_add_timer_type_ppp() 440 *x_rx_led = _GK.rx_led_x; in gkrellm_net_led_positions() 442 *y_rx_led = _GK.rx_led_y; in gkrellm_net_led_positions() 444 *x_tx_led = _GK.tx_led_x; in gkrellm_net_led_positions() 446 *y_tx_led = _GK.tx_led_y; in gkrellm_net_led_positions() 1030 if (_GK.debug_level & DEBUG_TIMER) in cb_timer_button_release() 2263 if (_GK.client_mode) in create_timed_monitor() 2527 if (!_GK.client_mode) in save_net_config() 3091 if (!_GK.client_mode) in create_net_tab() 3255 if (!_GK.client_mode) in create_net_tab() [all …]
|
H A D | mail.c | 671 if (_GK.debug_level & DEBUG_MAIL) 732 if (_GK.debug_level & DEBUG_MAIL) 824 if (_GK.debug_level & DEBUG_MAIL) 833 if (_GK.debug_level & DEBUG_MAIL) 883 if (_GK.debug_level & DEBUG_MAIL) 1042 if (_GK.debug_level & DEBUG_MAIL) 1062 if (_GK.debug_level & DEBUG_MAIL) 1068 if (_GK.debug_level & DEBUG_MAIL) 1304 if (_GK.debug_level & DEBUG_MAIL) 4381 _GK.decal_mail_frames = 18; [all …]
|
H A D | battery.c | 174 if (!read_battery_data && !_GK.client_mode && gkrellm_sys_battery_init()) in setup_battery_interface() 176 if (_GK.demo) in setup_battery_interface() 691 if (_GK.demo) in create_battery() 852 if (!_GK.client_mode) in save_battery_config() 893 estimate_runtime[0] /= _GK.float_factor; in load_battery_config() 898 estimate_runtime[1] /= _GK.float_factor; in load_battery_config() 1212 if (!_GK.client_mode) in create_battery_tab() 1286 if (_GK.client_mode) in gkrellm_init_battery_monitor()
|
H A D | fs.c | 758 if (_GK.client_mode) in fs_update() 802 if (!fs->is_nfs_fs || _GK.client_mode) in fs_update() 872 if (_GK.client_mode) in fs_update() 1352 if (!_GK.client_mode) in fs_config_save() 1701 if (!mounting_supported || _GK.client_mode) in cb_combo_changed() 1735 if (!mounting_supported || _GK.client_mode) in cb_mount_button_clicked() 1765 if (!mounting_supported || _GK.client_mode) in cb_ejectable_button_clicked() 2327 if (!_GK.client_mode) in create_fs_panels_page() 2339 if (ejecting_supported && !_GK.client_mode) in create_fs_panels_page() 2361 if (mounting_supported && !_GK.client_mode) in create_fs_panels_page() [all …]
|
H A D | sysdeps-unix.c | 127 _GK.mbmon_port = port; in gkrellm_sys_sensors_mbmon_port_change()
|
/dports/sysutils/gkrellm2/gkrellm-2.3.11/server/ |
H A D | main.c | 201 if (!_GK.pidfile) in make_pidfile() 218 if (_GK.pidfile) in remove_pidfile() 255 if (_GK.verbose) in gkrellmd_send_to_client() 546 if (_GK.verbose) in accept_client() 768 _GK.update_HZ = 3; in read_config() 933 if (!_GK.server_address || strlen(_GK.server_address) == 0) in socksetup() 955 if (!_GK.server_address || strlen(_GK.server_address) == 0) in socksetup() 1186 if (_GK.verbose) in gkrellmd_run() 1197 && !_GK.log_plugins && !_GK.list_plugins && _GK.debug_level == 0 in gkrellmd_run() 1222 if (_GK.update_HZ < 1 || _GK.update_HZ > 10) in gkrellmd_run() [all …]
|
H A D | plugins.c | 221 if (_GK.list_plugins) in gkrellmd_plugin_scan() 265 if (_GK.command_line_plugin) in gkrellmd_plugins_load() 267 if ( *_GK.command_line_plugin != '.' in gkrellmd_plugins_load() 268 && !strchr(_GK.command_line_plugin, G_DIR_SEPARATOR) in gkrellmd_plugins_load() 271 _GK.command_line_plugin, NULL); in gkrellmd_plugins_load() 273 path = g_strdup(_GK.command_line_plugin); in gkrellmd_plugins_load() 282 path = g_build_filename(_GK.homedir, GKRELLMD_PLUGINS_DIR, NULL); in gkrellmd_plugins_load()
|
H A D | monitor.c | 734 check_tcp = (check_tcp + 1) % _GK.inet_interval; 997 if (!_GK.net_timer || !name) 1006 if (!_GK.net_timer || !name) 1505 fs_check = !(check_tick % _GK.fs_interval); 1507 if (_GK.nfs_interval > 0) 1508 nfs_check = !(check_tick % _GK.nfs_interval); 2132 if (_GK.list_plugins) 2134 if (_GK.log_plugins) 2166 time(&_GK.time_now); 2168 time_prev = _GK.time_now; [all …]
|
/dports/sysutils/gkrellm2/gkrellm-2.3.11/src/sysdeps/ |
H A D | sensors-common.c | 142 if ((fd = gkrellm_connect_to(server, _GK.mbmon_port)) < 0) 146 _GK.mbmon_port); 220 if (port > 0 && port != _GK.mbmon_port) 229 if (_GK.mbmon_port <= 0) 231 port = _GK.mbmon_port; 232 if (check_time < _GK.time_now || force) 244 check_time = _GK.time_now + 3; /* Interval < sensor update */ 389 if (check_time < _GK.time_now) 392 check_time = _GK.time_now + 60;
|
H A D | linux.c | 1188 if (_GK.debug_level & DEBUG_NET) in gkrellm_sys_net_isdn_online() 1262 if (_GK.debug_level & DEBUG_NET) in get_io_indices() 1652 if (_GK.debug_level & DEBUG_BATTERY) in setup_acpi_battery() 1681 if (_GK.debug_level & DEBUG_BATTERY) in setup_ac_adapter() 1848 if (_GK.debug_level & DEBUG_BATTERY) in acpi_battery_data() 1881 if (_GK.debug_level & DEBUG_BATTERY) in acpi_battery_data() 1957 if (_GK.debug_level & DEBUG_BATTERY) in read_sysfs_entry() 2060 if (_GK.debug_level & DEBUG_BATTERY) in setup_sysfs_ac_power() 2156 if (_GK.debug_level & DEBUG_BATTERY) in sysfs_power_setup() 2568 if (_GK.debug_level & DEBUG_SENSORS) [all …]
|
/dports/sysutils/gkrellm2/gkrellm-2.3.11/shared/ |
H A D | log.c | 291 if (_GK.debug_level & debug_level) in gkrellm_debug() 305 if (_GK.debug_level & debug_level) in gkrellm_debugv()
|