gnupic: Thread: Problems with gpsim source view with more than 20 files


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Problems with gpsim source view with more than 20 files
From: Juha Haapajarvi ####@####.####
Date: 17 Apr 2003 22:30:03 -0000
Message-Id: <002701c3052e$fb639db0$1302a8c0@haba1>

Hi all! 

I had problems using gpsim with more than 20 source files. To solve prolem I made following patch.

Basicaly what it changes: max no of files is now 90, tabs of source windows are moved to left side of window and made scrollable.

Not good solution but workable :-).



-J



cvs diff > juhas.diff

Index: gui.h

===================================================================

RCS file: /cvsroot/gpsim/gui/gui.h,v

retrieving revision 1.50

diff -r1.50 gui.h

37c37

< #define SBAW_NRFILES 20 // Max number of source files

---

> #define SBAW_NRFILES 90 // Max number of source files

Index: gui_src_asm.cc

===================================================================

RCS file: /cvsroot/gpsim/gui/gui_src_asm.cc,v

retrieving revision 1.6

diff -r1.6 gui_src_asm.cc

2313a2314,2315

> gtk_notebook_set_tab_pos ((GtkNotebook*)sbaw->notebook,GTK_POS_LEFT);

> gtk_notebook_set_scrollable ((GtkNotebook*)sbaw->notebook,TRUE);
Subject: Re: Problems with gpsim source view with more than 20 files
From: Ralf Forsberg ####@####.####
Date: 20 Apr 2003 15:57:24 -0000
Message-Id: <20030420154249.GA680@home.se>

On Fri, Apr 18, 2003 at 01:16:23AM +0300, Juha Haapajarvi wrote:
> Hi all! 
> 
> I had problems using gpsim with more than 20 source files. To solve prolem I made following patch.
> 
> Basicaly what it changes: max no of files is now 90, tabs of source windows are moved to left side of window and made scrollable.
> 
> Not good solution but workable :-).

Thanx, I applied it to cvs.

I have a "/usr/local/share/gputils/header/p16f877.inc". That should be 
truncated (/me making note in head).

 / Ralf

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.