Re: FW: new civlog version
Brian Duff <[email protected]> Tue, 29 Aug 2000 09:46:13 +0100
| Newsgroups | gmane.games.freeciv.java |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
Hi, I'm lurking here. I was working on an update of the Java version of FreeCiv, but I've been a little busy recently. It's in CVS, though :) http://www.dubh.org/cgi-bin/cvsweb.cgi/jfreeciv/ Brian "Wong TM (Huang Deming)" wrote: > Hi! If you don't like me fw this Civlog stuffs to you, do info me. > > Anybody in the Freeciv-Java channel???????? > > -----Original Message----- > From: Michael Grundel [mailto:[email protected]] > Sent: Tuesday, August 29, 2000 8:12 AM > To: Wong TM (Huang Deming) > Subject: new civlog version > > Hi! > > I have made changes again :-) > > This time it's dynamic rescaling and Properties. > > There is a new menu-option "rescale dynamically" in the new "Options" Menu, > which sets this new feature on/off. The state of this menu is saved in a > properties-file in your home-directory. > In W2k this is a defined place, in Win9x I don't know (maybe c:\). > The file is called .civLogProperties, just let WindowsCommander search for it. > > I am a little tired (it's 1:15 am) so this will be short. > I used Forte to add the new Menus, but I did not get the Names right > (Name of the menu and the menuItem). Maybe you can fix that. > > I added a method in CivLogData which returns the Maximum between 2 years. > This is used by rescale() in CivLogDraw if the dynamic-option is set. > > The file CivLogProperties saves this property. I copied it from another > project and changed it a little. Since that was my first project, the code > may be a little ugly, but it seems to work. > basically you have CivLogProperties.getProperty(String key) and > CivLogProperties.setProperty(String key, String value). setProperty saves > automatically. > The properties-files is loaded automatically at program start. > > In CivLogFrame.myinitcomponents I read a property and set the menu. > This is a nice example if you want to know how it is used. > > I hope I am attaching the right files... > If it doesn't work I took the wrong ones. > > Regards, > Michael > > -- > eMail: [email protected] > PGP key available on request > > ------------------------------------------------------------------------ > Name: civlog-004lite-update.zip > civlog-004lite-update.zip Type: Zip Compressed Data (application/x-zip-compressed) > Encoding: base64
Brian.Duff.vcf
(text/x-vcard, 632 B)
begin:vcard n:Duff;Brian tel;cell:+44 (0)7712 191939 tel;work:+44 (0)118 9244901 x-mozilla-html:TRUE url:http://wired.st-and.ac.uk/~briand org:<a href="http://www.oracle.com"><img border="0" src="http://wired.st-and.ac.uk/~briand/oralogo.gif"></a><br><center><IMG SRC="http://www.btinternet.com/~dubh/images/phoenix.gif"></center>;<center><a href="http://www.oracle.com/tools/jdeveloper/">Oracle JDeveloper</a></center> version:2.1 email;internet:[email protected] title:Software Engineer adr;quoted-printable:;;Building 520=0D=0AOracle Parkway;Reading;Berkshire;RG6 1RA;UK fn:Brian Duff end:vcard