/dports/math/giacxcas/fltk-1.3.0/src/ |
H A D | Fl_Tabs.cxx | 79 tab_pos[i+1] = tab_pos[i] + tab_width[i] + BORDER; in tab_positions() 87 tab_pos[i] = r; in tab_positions() 90 if (tab_pos[i+1] < l) l = tab_pos[i+1]; in tab_positions() 92 tab_pos[i] = l; in tab_positions() 104 tab_pos[i] = tab_pos[i-1] + tab_width[i-1]; in tab_positions() 345 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 348 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 352 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 452 tab_pos = 0; in Fl_Tabs() 519 if (tab_pos) { in clear_tab_positions() [all …]
|
/dports/x11-toolkits/fltk/fltk-1.3.8/src/ |
H A D | Fl_Tabs.cxx | 69 tab_pos[i+1] = tab_pos[i] + tab_width[i] + BORDER; in tab_positions() 77 tab_pos[i] = r; in tab_positions() 80 if (tab_pos[i+1] < l) l = tab_pos[i+1]; in tab_positions() 82 tab_pos[i] = l; in tab_positions() 94 tab_pos[i] = tab_pos[i-1] + tab_width[i-1]; in tab_positions() 360 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 363 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 367 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 473 tab_pos = 0; in Fl_Tabs() 540 if (tab_pos) { in clear_tab_positions() [all …]
|
/dports/x11-toolkits/ntk/ntk/src/ |
H A D | Fl_Tabs.cxx | 79 tab_pos[i+1] = tab_pos[i] + tab_width[i] + BORDER; in tab_positions() 87 tab_pos[i] = r; in tab_positions() 90 if (tab_pos[i+1] < l) l = tab_pos[i+1]; in tab_positions() 92 tab_pos[i] = l; in tab_positions() 104 tab_pos[i] = tab_pos[i-1] + tab_width[i-1]; in tab_positions() 345 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 348 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 352 draw_tab(x()+tab_pos[i], x()+tab_pos[i+1], in draw() 452 tab_pos = 0; in Fl_Tabs() 519 if (tab_pos) { in clear_tab_positions() [all …]
|
/dports/sysutils/ods2/ods2-1.3_1/ |
H A D | tab.c | 46 int tab_pos = 0,last_pos = 0; in tab() local 57 tab_pos = 0; in tab() 63 ch_width = (tab_pos / in_size + 1) * in_size - tab_pos;; in tab() 67 while (last_pos < tab_pos) { in tab() 69 if (tab_skip - last_pos <= 1 || tab_skip > tab_pos) { in tab() 99 tab_pos += ch_width; in tab()
|
/dports/misc/vxl/vxl-3.3.2/core/vgui/ |
H A D | vgui_grid_tableau.cxx | 17 return a.handle == b.handle && a.tab_pos == b.tab_pos && a.is_default == b.is_default && in operator ==() 149 grid_pos(col_pos, row_pos).tab_pos = -1; in add_default() 175 grid_pos(i, j).tab_pos = tabs.size() - 1; in add_next() 203 grid_pos(col_pos, row_pos).tab_pos = tabs.size() - 1; in add_next() 246 grid_pos(col_pos, row_pos).tab_pos = tabs.size() - 1; in add_at() 275 grid_pos(col_pos, row_pos).tab_pos = -1; in remove_at() 456 grid_pos(grid_col, grid_row).tab_pos = grid_pos(i, j).tab_pos; in layout_grid2() 575 grid_pos(col_pos, row_pos).tab_pos++; in page_up() 580 grid_pos(col_pos, row_pos).tab_pos = 0; in page_up() 606 grid_pos(col_pos, row_pos).tab_pos--; in page_down() [all …]
|
/dports/editors/se/se-3.0.1/src/ |
H A D | screen.c | 108 scan_pos, tab_pos, first; in getcmd() local 234 cursor = tab_pos; in getcmd() 258 cursor = tab_pos; in getcmd() 369 for (; cursor < tab_pos; cursor++) in getcmd() 514 int inc, tab_pos; in scan_tab() local 519 tab_pos = cursor - 1; in scan_tab() 524 tab_pos = cursor + 1; in scan_tab() 527 for (; -1 < tab_pos && tab_pos < MAXLINE; tab_pos += inc) in scan_tab() 529 if (Tabstops[tab_pos] == YES) in scan_tab() 535 if (tab_pos < 0 || tab_pos >= MAXLINE - 1) in scan_tab() [all …]
|
/dports/games/openmw/openmw-openmw-0.47.0/components/translation/ |
H A D | translation.cpp | 58 size_t tab_pos = line.find('\t'); in loadDataFromStream() local 59 if (tab_pos != std::string::npos && tab_pos > 0 && tab_pos < line.size() - 1) in loadDataFromStream() 61 std::string key = line.substr(0, tab_pos); in loadDataFromStream() 62 std::string value = line.substr(tab_pos + 1); in loadDataFromStream()
|
/dports/textproc/soothsayer/soothsayer-0.6.3/src/lib/plugins/ |
H A D | abbreviationExpansionPlugin.cpp | 117 std::string::size_type tab_pos; in cacheAbbreviationsExpansions() local 119 tab_pos = buffer.find_first_of('\t'); in cacheAbbreviationsExpansions() 120 if (tab_pos == std::string::npos) { in cacheAbbreviationsExpansions() 123 abbreviation = buffer.substr(0, tab_pos); in cacheAbbreviationsExpansions() 124 expansion = buffer.substr(tab_pos + 1, std::string::npos); in cacheAbbreviationsExpansions()
|
/dports/deskutils/presage/presage-0.9.1/src/lib/predictors/ |
H A D | abbreviationExpansionPredictor.cpp | 108 std::string::size_type tab_pos; in cacheAbbreviationsExpansions() local 110 tab_pos = buffer.find_first_of('\t'); in cacheAbbreviationsExpansions() 111 if (tab_pos == std::string::npos) { in cacheAbbreviationsExpansions() 114 abbreviation = buffer.substr(0, tab_pos); in cacheAbbreviationsExpansions() 115 expansion = buffer.substr(tab_pos + 1, std::string::npos); in cacheAbbreviationsExpansions()
|
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/templates/database/designer/ |
H A D | database_tables.twig | 19 {{- tab_pos[t_n] is defined ? tab_pos[t_n]['X'] : random(range(20, 700)) }}px; top: 20 {{- tab_pos[t_n] is defined ? tab_pos[t_n]['Y'] : random(range(20, 550)) }}px; display: 21 … {{- tab_pos[t_n] is defined or display_page == -1 ? 'block' : 'none' }}; z-index: 1;"> <!--"--> 39 …table_name="{{ t_n_url }}">{{ tab_pos[t_n] is not defined or tab_pos[t_n]['V'] is not empty ? 'v' … 64 … {{- tab_pos[t_n] is defined and tab_pos[t_n]['V'] is empty ? ' style="display: none"' }}>
|
/dports/x11/roxterm/roxterm-3.11.1/src/ |
H A D | multitab.h | 216 MultiWinSizing sizing, GtkPositionType tab_pos, gboolean borderless, 221 const char *geom, GtkPositionType tab_pos, gboolean borderless, in multi_win_new_with_geom() argument 226 tab_pos, borderless, always_show_tabs, add_tab_button); in multi_win_new_with_geom() 230 gpointer user_data_template, GtkPositionType tab_pos, gboolean borderless, in multi_win_new() argument 235 tab_pos, borderless, always_show_tabs, add_tab_button); in multi_win_new() 246 GtkPositionType tab_pos, gboolean borderless, in multi_win_new_fullscreen() argument 251 tab_pos, borderless, always_show_tabs, add_tab_button); in multi_win_new_fullscreen() 256 GtkPositionType tab_pos, gboolean borderless, in multi_win_new_maximised() argument 261 tab_pos, borderless, always_show_tabs, add_tab_button); in multi_win_new_maximised() 269 GtkPositionType tab_pos, gboolean always_show_tabs,
|
/dports/databases/phpmyadmin/phpMyAdmin-4.9.7-all-languages/templates/database/designer/ |
H A D | database_tables.twig | 19 {{- tab_pos[t_n] is defined ? tab_pos[t_n]['X'] : random(range(20, 700)) }}px; top: 20 {{- tab_pos[t_n] is defined ? tab_pos[t_n]['Y'] : random(range(20, 550)) }}px; display: 21 {{- tab_pos[t_n] is defined or display_page == -1 ? 'block' : 'none' }}; z-index: 1;"> 39 …table_name="{{ t_n_url }}">{{ tab_pos[t_n] is not defined or tab_pos[t_n]['V'] is not empty ? 'v' … 64 … {{- tab_pos[t_n] is defined and tab_pos[t_n]['V'] is empty ? ' style="display: none"' }}>
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objects/seqfeat/ |
H A D | Prot_ref.cpp | 101 SIZE_TYPE tab_pos = line.find('\t'); in s_ProcessECNumberLine() local 102 if (tab_pos == NPOS) { in s_ProcessECNumberLine() 106 string lhs(line.substr(0, tab_pos)), rhs(line.substr(tab_pos + 1)); in s_ProcessECNumberLine() 111 SIZE_TYPE tab_pos = line.find('\t'); in s_ProcessECNumberLine() local 112 if (tab_pos == NPOS) { in s_ProcessECNumberLine() 115 string lhs(line.substr(0, tab_pos)); in s_ProcessECNumberLine()
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objects/seqfeat/ |
H A D | Prot_ref.cpp | 101 SIZE_TYPE tab_pos = line.find('\t'); in s_ProcessECNumberLine() local 102 if (tab_pos == NPOS) { in s_ProcessECNumberLine() 106 string lhs(line.substr(0, tab_pos)), rhs(line.substr(tab_pos + 1)); in s_ProcessECNumberLine() 111 SIZE_TYPE tab_pos = line.find('\t'); in s_ProcessECNumberLine() local 112 if (tab_pos == NPOS) { in s_ProcessECNumberLine() 115 string lhs(line.substr(0, tab_pos)); in s_ProcessECNumberLine()
|
/dports/multimedia/gmerlin/gmerlin-1.2.0/lib/gtk/ |
H A D | textview.c | 105 int tab_pos; in bg_gtk_textview_update() local 130 tab_pos = 0; in bg_gtk_textview_update() 169 if(tab_pos < line_width) in bg_gtk_textview_update() 170 tab_pos = line_width; in bg_gtk_textview_update() 199 tab_pos+10 /* gint first_position, */ ); in bg_gtk_textview_update()
|
/dports/devel/glog/glog-0.5.0/src/ |
H A D | demangle_unittest.cc | 137 string::size_type tab_pos = line.find('\t'); in TEST() local 138 EXPECT_NE(string::npos, tab_pos); in TEST() 139 string mangled = line.substr(0, tab_pos); in TEST() 140 string demangled = line.substr(tab_pos + 1); in TEST()
|
/dports/x11/gnome-terminal/gnome-terminal-3.42.2/src/ |
H A D | terminal-tab-label.cc | 40 GtkPositionType tab_pos; member 103 if (pos == priv->tab_pos) in notify_tab_pos_cb() 106 priv->tab_pos = pos; in notify_tab_pos_cb() 156 if (priv->tab_pos == GTK_POS_LEFT || in terminal_tab_label_get_preferred_width() 157 priv->tab_pos == GTK_POS_RIGHT) { in terminal_tab_label_get_preferred_width() 174 priv->tab_pos = (GtkPositionType) -1; /* invalid */ in terminal_tab_label_init()
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/sview/ |
H A D | defaults.c | 109 static int _trans_tab_pos(int tab_pos) in _trans_tab_pos() argument 112 switch (tab_pos) { in _trans_tab_pos() 156 action = _trans_tab_pos(sview_config->tab_pos); in _set_active_combo_defaults() 273 sview_config->tab_pos = GTK_POS_TOP; in _set_sview_config() 275 sview_config->tab_pos = GTK_POS_BOTTOM; in _set_sview_config() 277 sview_config->tab_pos = GTK_POS_LEFT; in _set_sview_config() 279 sview_config->tab_pos = GTK_POS_RIGHT; in _set_sview_config() 532 default_sview_config.tab_pos = GTK_POS_TOP; in _init_sview_conf() 660 default_sview_config.tab_pos = GTK_POS_TOP; in load_defaults() 664 default_sview_config.tab_pos = GTK_POS_LEFT; in load_defaults() [all …]
|
/dports/audio/exaile/exaile-4.1.1/xlgui/widgets/ |
H A D | notebook.py | 106 tab_pos = self.get_tab_pos() 107 if tab_pos in (Gtk.PositionType.TOP, Gtk.PositionType.BOTTOM): 109 tab.adjust_label_width(tab_pos) 166 tab_pos = self.get_tab_pos() 167 expand = tab_pos in (Gtk.PositionType.TOP, Gtk.PositionType.BOTTOM) 172 tab.adjust_label_width(tab_pos) 272 def adjust_label_width(self, tab_pos): argument 277 if tab_pos in (Gtk.PositionType.TOP, Gtk.PositionType.BOTTOM):
|
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/libraries/classes/Controllers/Database/ |
H A D | DesignerController.php | 44 …global $success, $page, $message, $display_page, $selected_page, $tab_pos, $fullTableNames, $scrip… 180 $tab_pos = $this->designerCommon->getTablePositions($display_page); 188 foreach ($tab_pos as $position) { 250 $tab_pos,
|
/dports/science/openbabel/openbabel-3.1.1/src/formats/ |
H A D | smileyformat.cpp | 350 std::size_t tab_pos = smiles.find("\t"); in ReadMolecule() local 351 if (space_pos != std::string::npos && tab_pos != std::string::npos) in ReadMolecule() 352 space_pos = std::min(space_pos, tab_pos); in ReadMolecule() 353 else if (tab_pos != std::string::npos) in ReadMolecule() 354 space_pos = tab_pos; in ReadMolecule()
|
/dports/devel/anjuta/anjuta-3.34.0/plugins/message-view/ |
H A D | anjuta-msgman.c | 281 gchar *tab_pos; in set_message_tab() local 284 tab_pos = g_settings_get_string (settings, MESSAGES_TABS_POS); in set_message_tab() 286 if (tab_pos) in set_message_tab() 288 if (strcasecmp (tab_pos, "left") == 0) in set_message_tab() 290 else if (strcasecmp (tab_pos, "right") == 0) in set_message_tab() 292 else if (strcasecmp (tab_pos, "bottom") == 0) in set_message_tab() 294 g_free (tab_pos); in set_message_tab()
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/aui/ |
H A D | tabartgtk.cpp | 188 int tab_pos; in DrawTab() local 190 tab_pos = wxAUI_NB_BOTTOM; in DrawTab() 192 tab_pos = wxAUI_NB_TOP; in DrawTab() 214 switch (tab_pos) in DrawTab() 258 if (tab_pos == wxAUI_NB_BOTTOM) in DrawTab() 317 if (tab_pos == wxAUI_NB_TOP) in DrawTab() 337 if (tab_pos == wxAUI_NB_TOP) in DrawTab() 372 if (tab_pos == wxAUI_NB_TOP) in DrawTab()
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/aui/ |
H A D | tabartgtk.cpp | 193 int tab_pos; in DrawTab() local 195 tab_pos = wxAUI_NB_BOTTOM; in DrawTab() 197 tab_pos = wxAUI_NB_TOP; in DrawTab() 219 switch (tab_pos) in DrawTab() 263 if (tab_pos == wxAUI_NB_BOTTOM) in DrawTab() 322 if (tab_pos == wxAUI_NB_TOP) in DrawTab() 342 if (tab_pos == wxAUI_NB_TOP) in DrawTab() 377 if (tab_pos == wxAUI_NB_TOP) in DrawTab()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/aui/ |
H A D | tabartgtk.cpp | 193 int tab_pos; in DrawTab() local 195 tab_pos = wxAUI_NB_BOTTOM; in DrawTab() 197 tab_pos = wxAUI_NB_TOP; in DrawTab() 219 switch (tab_pos) in DrawTab() 263 if (tab_pos == wxAUI_NB_BOTTOM) in DrawTab() 322 if (tab_pos == wxAUI_NB_TOP) in DrawTab() 342 if (tab_pos == wxAUI_NB_TOP) in DrawTab() 377 if (tab_pos == wxAUI_NB_TOP) in DrawTab()
|