• Jody Goldberg's avatar
    Add some config variables to the application to allow for axis dependent · d6fe542a
    Jody Goldberg authored
    zooming based on the screen display resolution (eg 110 dpi).  No GUI currently
    2000-02-04  Jody Goldberg <jgoldberg@home.com>
    	* src/widgets/widget-font-selector.c (font_selector_set_points) : new
    	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_font_page) : Use it.
    2000-02-04  Jody Goldberg <jgoldberg@home.com>
    	* src/sheet.c (sheet_col_set_internal_width) : Scale by the axis
    	  resolution adjment.
    	(sheet_row_set_internal_height) : Ditto.
    	(colrow_set_units) : Ditto.
    	(sheet_compute_col_row_new_size) : Ditto.
    	* src/item-bar.c (item_bar_fonts_init) : Scale by resolution.
    	(item_bar_start_resize) : Ditto.
    	(item_bar_event) : Ditto.
    	* src/cell.c (cell_calc_dimensions) : Adjust interface to take the
    	  cell. Scale the height test by the vertical resolution adjustment.
    	* src/cell-draw.c (sheet_view_get_style_font) : rename from
    	  sheet_get_style_font in preparation for view split.  Scale
    	  the font by the average of the resolutions.
sheet-control-gui.c 24.9 KB