Commit Graph

11 Commits

Author SHA1 Message Date
Pavel Roskin 054b273045 * gmc-chargrid.c: Try 14-point clean and monospaced fonts
before resorting to "fixed".
2001-07-27 23:47:25 +00:00
Pavel Roskin 44700b7f69 * gmc-chargrid.c: Include <config.h>. 2001-06-26 15:14:01 +00:00
Norbert Warmuth 4519b43ebc 1999-06-24 Norbert Warmuth <nwarmuth@privat.circular.de>
* gnome/gmc-chargrid.c (update_strip): Paint every character with the
assigned fore and background color instead of using the colors of
the first character for the whole line.


1999-06-24  smil@linuxfan.com

* src/view.c (view_update_bytes_per_line, display): show correctly the
offset of the file (full 8 digit), display offset in bold colour

(view_labels): use goto_addr instead of goto_line in hex mode

(goto_addr): New function. Goto offset address in hex mode.

* src/view.h: use unsigned long for hexedit cursor position in file
1999-06-24 21:53:40 +00:00
Miguel de Icaza 9ffbc3ae81 1999-06-01 Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
* gnome/gdesktop-icon.h:
	* gnome/gmc-chargrid.c: Replace gdk_font_load() with
	gdk_fontset_load(), and change the default font names.

1999-06-01  Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>

	* util.c (is_printable): in GNOME all characters are printable.
1999-06-01 22:38:56 +00:00
Miguel de Icaza 1ee3e159aa 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmc-chargrid.c (update_region): Added clipping of region bounds.
1998-03-13 03:02:10 +00:00
Miguel de Icaza c7ad193388 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmc-chargrid.c (gmc_char_grid_draw): Someone teach me how to
	subtract.  Fixed a stupid offsetting bug.
1998-03-13 02:29:39 +00:00
Miguel de Icaza 276761aa48 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmc-chargrid.c: Changed the struct attr with pointers mess with
	something saner.
	Added an in_resize flag to avoid calling our internal signal
	handlers recursively.
	(gmc_char_grid_draw): Added proper draw handler for our case; the
	widget's window does not fill its allocation.
	(paint): New wrapper for update_region(); it converts window
	coordinates to row/column character coordinates.
	(gmc_char_grid_expose): Use paint().
1998-03-13 00:56:24 +00:00
Miguel de Icaza a65ce95420 More fixes to viewer repainting - Federico 1998-03-12 06:02:21 +00:00
Miguel de Icaza ad1610c2e3 Viewer works; Entry widgets are synced with selection;
panel fills properly (fixes a bunch of file operations); more dialog
boxes exported to the gnome edition -mig
1998-03-12 03:29:45 +00:00
Miguel de Icaza 11099ee712 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmc-chargrid.c (gmc_char_grid_get_size): New public function.
	(gmc_char_grid_put_text): New public function.  It is the same as
	gmc_char_grid_put_str, but can take any arbitrary string plus its
	length.
	(gmc_char_grid_put_char, gmc_char_grid_put_str,
	gmc_char_grid_put_text): These functions now take a background
	pixel parameter --- the GmcCharGrid widget now supports fg/bg attributes.

	* gmc-chargrid.h: Changed colors field to attrs.
1998-03-12 02:28:12 +00:00
Miguel de Icaza c3b299f39a 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmc-chargrid.h:
	* gmc-chargrid.c: New Character Grid widget for the file viewer.
	This is a very lean and fast widget for displaying a grid of
	monospaced characters.  Just like a crippled-down terminal.
1998-03-11 22:50:29 +00:00