[CF-Devel] Re: Attached are a couple diffs I made to the java editor...
Joris Bontje
jbontje at suespammers.org
Sat Aug 17 05:12:55 CDT 2002
- Previous message:
[CF-Devel] Attached are a couple diffs I made to the java editor. I'm not 100%
sure that these will apply cleanly, as in at least one case, the same file
was changed - oen for the layout diff, one for the window diff, and I just
broke them into the two diffs file by hand.
These are mostly here for
comments and possible suggestions.
The layout.diff changes the layout
of the window a bit. It basically extends the map drawing portion to the
entire height of the window, and moves the portion that used to be below
it into the right side area. This is most useful on higher res screens,
where you have the vertical resolution to fit all the information in the
right hand side, and you want a wider window, and don't really something
at the bottom of the window below the map area chewing up space. It should
be possible to make this a configuration option that the user checks in the
options box. It would probably be a pain to make it update it in real time,
but having it take effect next run would probably be OK. I tried to make
it so that the map drawing area was at the far right, but could never get
the layout to work properly. This patch also works nicely with the patch
below, as you can basically resize the map pane into oblivian but still have
all the important bits available.
The window.diff file changes the
editor so that the map windows are now managed by whatever window manager
you use (eg, they are top level windows), and are not drawn in the map pane.
I personally find this more convenient, as I have various hot keys I can
use to close, open, and raise/lower windows. It also means that it is easier
to make the windows very large, as they don't have to deal with the space
taken up by the various selection/info panes in the editor (eg, you could
select the arch you want to insert, and then raise the map window, obscuring
the selection windows as you do your work). There are some other hacks mentioned,
like sizing control. Also, the current map draw code seemed to have a harded
32 pixel offset it used for drawing. Not positive why that is there - in
my effort to squeeze in every usuable pixel, I removed that - that is a large
part of the diffs.
CFJavaEditor diffs
- Next message:
[CF-Devel] Re: Attached are a couple diffs I made to the java editor...
-
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
What did happen?
Did we just get an email from Mark with a subject field containing 1000
words? Accident, purpose or mailserver broken?
Joris Bontje
--
PGP Key:
http://pgp.dtype.org:11371/pks/lookup?op=get&search=0xF19326A9
Key fingerprint = 730D 9B3A F406 F28A 957D 6397 31E8 6D4C F193 26A9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
http://shadowknight.real-time.com/pipermail/crossfire/attachments/20020817/c6339fa1/attachment.pgp
- Previous message:
[CF-Devel] Attached are a couple diffs I made to the java editor. I'm not 100%
sure that these will apply cleanly, as in at least one case, the same file
was changed - oen for the layout diff, one for the window diff, and I just
broke them into the two diffs file by hand.
These are mostly here for
comments and possible suggestions.
The layout.diff changes the layout
of the window a bit. It basically extends the map drawing portion to the
entire height of the window, and moves the portion that used to be below
it into the right side area. This is most useful on higher res screens,
where you have the vertical resolution to fit all the information in the
right hand side, and you want a wider window, and don't really something
at the bottom of the window below the map area chewing up space. It should
be possible to make this a configuration option that the user checks in the
options box. It would probably be a pain to make it update it in real time,
but having it take effect next run would probably be OK. I tried to make
it so that the map drawing area was at the far right, but could never get
the layout to work properly. This patch also works nicely with the patch
below, as you can basically resize the map pane into oblivian but still have
all the important bits available.
The window.diff file changes the
editor so that the map windows are now managed by whatever window manager
you use (eg, they are top level windows), and are not drawn in the map pane.
I personally find this more convenient, as I have various hot keys I can
use to close, open, and raise/lower windows. It also means that it is easier
to make the windows very large, as they don't have to deal with the space
taken up by the various selection/info panes in the editor (eg, you could
select the arch you want to insert, and then raise the map window, obscuring
the selection windows as you do your work). There are some other hacks mentioned,
like sizing control. Also, the current map draw code seemed to have a harded
32 pixel offset it used for drawing. Not positive why that is there - in
my effort to squeeze in every usuable pixel, I removed that - that is a large
part of the diffs.
CFJavaEditor diffs
- Next message:
[CF-Devel] Re: Attached are a couple diffs I made to the java editor...
-
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the crossfire
mailing list