static void set_row_height (GtkSheet *sheet,
gint row,
- guint height);
+ gint height);
static void destroy_hover_window (GtkSheetHoverTitle *);
static GtkSheetHoverTitle *create_hover_window (void);
static void set_column_width (GtkSheet *sheet,
gint column,
- guint width);
+ gint width);
void
gdk_display_pointer_ungrab (display, event->time);
draw_xor_vline (sheet);
- width = event->x -
- psppire_axis_start_pixel (sheet->haxis, sheet->drag_cell.col) -
- sheet->hadjustment->value;
+ width = event->x -
+ psppire_axis_start_pixel (sheet->haxis, sheet->drag_cell.col)
+ + sheet->hadjustment->value;
set_column_width (sheet, sheet->drag_cell.col, width);
draw_xor_hline (sheet);
height = event->y -
- psppire_axis_start_pixel (sheet->vaxis, sheet->drag_cell.row) -
+ psppire_axis_start_pixel (sheet->vaxis, sheet->drag_cell.row) +
sheet->vadjustment->value;
set_row_height (sheet, sheet->drag_cell.row, height);
static void
set_column_width (GtkSheet *sheet,
gint column,
- guint width)
+ gint width)
{
g_return_if_fail (sheet != NULL);
g_return_if_fail (GTK_IS_SHEET (sheet));
static void
set_row_height (GtkSheet *sheet,
gint row,
- guint height)
+ gint height)
{
g_return_if_fail (sheet != NULL);
g_return_if_fail (GTK_IS_SHEET (sheet));