Lines Matching +defs:name +defs:pos

273     PtWidgetPos ( gui.vimContainer, &area.pos );
636 PhRect_t *pos;
641 pos = PhGetRects( info->event );
649 mouse_x = pos->ul.x + gui.border_width;
650 mouse_y = pos->ul.y + gui.border_width;
676 abs_mouse.x = pointer->pos.x;
677 abs_mouse.y = pointer->pos.y;
864 gui_ph_find_buffer_item( char_u *name )
878 ( STRCMP( items->dname, name ) != 0 ) )
984 gui_ph_pg_add_buffer(char *name )
994 new_titles[ num_panels++ ] = name;
1005 gui_ph_pg_remove_buffer( char *name )
1020 if( STRCMP( panel_titles[ i ], name ) != 0 )
1089 char *name;
1100 charset = charsets[ i ].name;
1125 PhPoint_t pos = {0, 0};
1153 PtSetArg( &args[ n++ ], Pt_ARG_POS, &pos, 0 );
1378 * Returns the selected name in allocated memory, or NULL for Cancel.
1381 * default_name default name (well duh!)
1384 * filter not used (file name filter)
1648 PhPoint_t *pos;
1650 pos = PtWidgetPos( gui.vimWindow, NULL );
1652 *x = pos->x;
1653 *y = pos->y;
1661 PhPoint_t pos = { x, y };
1663 PtSetResource( gui.vimWindow, Pt_ARG_POS, &pos, 0 );
1915 *x = info.pos.x - ix;
1916 *y = info.pos.y - iy;
1994 gui_mch_get_color(char_u *name)
2002 char *name;
2059 /* is name #rrggbb format? */
2060 if( name[0] == '#' && STRLEN( name ) == 7 )
2062 r = hex_digit( name[1] ) * 16 + hex_digit( name[2] );
2063 g = hex_digit( name[3] ) * 16 + hex_digit( name[4] );
2064 b = hex_digit( name[5] ) * 16 + hex_digit( name[6] );
2072 if( STRICMP( name, table[i].name ) == 0 )
2097 int pos;
2108 i = sscanf(line, "%d %d %d %n", &r, &g, &b, &pos);
2112 color = line + pos;
2114 if (STRICMP(color, name) == 0)
2263 PhPoint_t pos = { TEXT_X( col ), TEXT_Y( row ) };
2309 PgDrawText( s, len, &pos, 0 );
2320 pos.x++;
2323 PgDrawText( s, len, &pos, 0 );
2446 gui_mch_haskey(char_u *name)
2451 if (name[0] == special_keys[i].vim_code0 &&
2452 name[1] == special_keys[i].vim_code1)
2538 ( ( gui_find_bitmap( menu->name, full_pathname, "gif" ) == OK ) ||
2539 ( gui_find_bitmap( menu->name, full_pathname, "png" ) == OK ) ) )
2613 if( menu_is_menubar( menu->name ) )
2616 accel_key = vim_strchr( menu->name, '&' );
2665 else if( menu_is_popup( menu->name ) )
2686 if( menu_is_toolbar( parent->name ) )
2688 if( menu_is_separator( menu->name ) )
2737 if( menu_is_separator( menu->name ) )
2743 accel_key = vim_strchr( menu->name, '&' );
2905 * Split up the vim font name
2908 * <name>:s<height>:a:b:i
3073 * Return the name of font "font" in allocated memory.
3074 * Don't know how to get the actual name, thus use the provided name.
3077 gui_mch_get_fontname(font, name)
3079 char_u *name;
3081 if (name == NULL)
3083 return vim_strsave(name);