Richard Frith-MacDonald
35c3e329d7
Minor tidy up.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3436 72102866-910b-0410-8b05-ffd578937521
1998-12-12 10:04:50 +00:00
Richard Frith-MacDonald
7c66b0ba8b
Minor tidying
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3435 72102866-910b-0410-8b05-ffd578937521
1998-12-12 10:03:44 +00:00
Richard Frith-MacDonald
8d9e4a1ec6
Minor bugfix and comment added.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3434 72102866-910b-0410-8b05-ffd578937521
1998-12-12 09:55:57 +00:00
Richard Frith-MacDonald
7e21acf74e
Fixed error in the, deliberately wrong :-) code for rounding view sizes down
...
to an integer number of points.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3433 72102866-910b-0410-8b05-ffd578937521
1998-12-12 09:53:54 +00:00
Richard Frith-MacDonald
ef7322b34a
Revert to version of resizing with correct logic
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3432 72102866-910b-0410-8b05-ffd578937521
1998-12-12 06:46:14 +00:00
Richard Frith-MacDonald
a3caf04554
resizeWithOldSuperviewSize: revert to previous code (in order to fix bug
...
introduced when MaxX or Y is specified but not Min. Added reliable
code to avoid fractional values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3431 72102866-910b-0410-8b05-ffd578937521
1998-12-12 06:40:23 +00:00
Adam Fedor
2d9477c8ed
Remove method table init.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3430 72102866-910b-0410-8b05-ffd578937521
1998-12-11 13:39:07 +00:00
Felipe A. Rodriguez
b17663409e
* GNUAlertPanel rename to GSAlertPanel (to maintain a common naming style
...
along the NS* lines within the AppKit public API). Move code to NSPanel
as it is conceptually a private panel class for the sake of the public
NS* panel functions.
* GNUServicesManager.m/.h rename to GSServicesManager (to maintain a
common naming style along the NS* lines within the AppKit public API).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3429 72102866-910b-0410-8b05-ffd578937521
1998-12-10 21:14:52 +00:00
Adam Fedor
81abcf1f75
Change backend initialization
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3428 72102866-910b-0410-8b05-ffd578937521
1998-12-10 19:53:41 +00:00
Felipe A. Rodriguez
8d0237fbfa
Added Files:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3427 72102866-910b-0410-8b05-ffd578937521
1998-12-10 18:09:59 +00:00
Felipe A. Rodriguez
134a561e0c
* NSWindow.h change window style enum to match WindowMaker's definition.
...
* GNUAlertPanel.m NSGetAlertPanel() replace centering code with call to
center method, change window style mask, add class initialize.
* libgnustep-gui.m rename to Functions.m.
* Functions.m add new file as location for generic NS* and GS* functions,
move backend NSEventMaskFromType() into it.
* NSApplication.m discardEventsMatchingMask:.. rewrite (fix bugs),
runModalSession: dump all events not for modal window (fixes modal panel
button display bug), arrangeInFront: preliminary implemenation.
* NSCell.m: Polish.
* NSWindow.m: center remove display invocation per 4.2 docs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3426 72102866-910b-0410-8b05-ffd578937521
1998-12-10 18:07:24 +00:00
Felipe A. Rodriguez
caab58e8db
* NSView.m resizeWithOldSuperviewSize: revert to previous code and add bug
...
fixes from new. Fixes bugs in new code when MaxX or Y is specified but not
Min. Avoids fractional values and fewer lines of code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3425 72102866-910b-0410-8b05-ffd578937521
1998-12-09 17:49:55 +00:00
Richard Frith-MacDonald
2eb6fb3f87
Auto-resize fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3424 72102866-910b-0410-8b05-ffd578937521
1998-12-09 06:42:19 +00:00
Felipe A. Rodriguez
872ab1e340
* NSApplication.m: polish, eliminate a couple of compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3423 72102866-910b-0410-8b05-ffd578937521
1998-12-09 05:32:07 +00:00
Felipe A. Rodriguez
3a0de0df6c
* NSScroller.m move backend code into frontend, polish code, remove ifdefs.
...
* TrackingRectangle.m/.h rename class to GS* prefix (GSTrackingRect).
* NSView.m resizeWithOldSuperviewSize: floor possibly fractional results.
displayIfNeededIgnoringOpacity: rewrite to fix obscure bugs in auto
display. Minor tweaks in other display methods for same reasons.
* NSView.h rename invalidatedRectangle to invalidRect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3421 72102866-910b-0410-8b05-ffd578937521
1998-12-09 01:26:37 +00:00
Richard Frith-MacDonald
427b47b20d
bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3420 72102866-910b-0410-8b05-ffd578937521
1998-12-08 20:36:32 +00:00
Richard Frith-MacDonald
002a54d59e
iGet alert panels working
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3419 72102866-910b-0410-8b05-ffd578937521
1998-12-08 20:34:00 +00:00
Richard Frith-MacDonald
eee36f424d
Small bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3405 72102866-910b-0410-8b05-ffd578937521
1998-12-07 15:39:28 +00:00
Richard Frith-MacDonald
69750e6900
Bugfixes in object creation methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3404 72102866-910b-0410-8b05-ffd578937521
1998-12-07 15:36:51 +00:00
Richard Frith-MacDonald
b0146d57c0
Small performance hack
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3401 72102866-910b-0410-8b05-ffd578937521
1998-12-07 11:58:44 +00:00
Richard Frith-MacDonald
8c43926ae3
Minor bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3396 72102866-910b-0410-8b05-ffd578937521
1998-12-06 20:18:48 +00:00
Richard Frith-MacDonald
0b270c17b4
Fixed path setup error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3393 72102866-910b-0410-8b05-ffd578937521
1998-12-06 19:51:44 +00:00
Felipe A. Rodriguez
fe9e59eb35
* NSView.m resizeWithOldSuperviewSize: fully implement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3392 72102866-910b-0410-8b05-ffd578937521
1998-12-05 21:27:19 +00:00
Richard Frith-MacDonald
b9fe3f3689
Added alert panel stuff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3387 72102866-910b-0410-8b05-ffd578937521
1998-12-04 10:54:27 +00:00
Richard Frith-MacDonald
cb1ee43073
Framework on which to build alert panel stuff.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3385 72102866-910b-0410-8b05-ffd578937521
1998-12-04 10:48:00 +00:00
Richard Frith-MacDonald
32390079f4
Fixed typos
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3384 72102866-910b-0410-8b05-ffd578937521
1998-12-04 10:44:02 +00:00
Richard Frith-MacDonald
afaa0ae33a
Fixed error in method name.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3382 72102866-910b-0410-8b05-ffd578937521
1998-12-04 10:35:51 +00:00
Felipe A. Rodriguez
b57813676d
* NSView.m resizeSubviewsWithOldSize: check whether view has ever been
...
rotated (per 4.2 docs).
* NSStringDrawing.m sizeWithAttributes: fix minor bug introduced while
optimizing tab calc.
* NSCell.m: drawInteriorWithFrame: minor optimization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3379 72102866-910b-0410-8b05-ffd578937521
1998-12-03 21:23:58 +00:00
Richard Frith-MacDonald
99e67e6618
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3373 72102866-910b-0410-8b05-ffd578937521
1998-12-03 13:27:08 +00:00
Richard Frith-MacDonald
5ef1c47c79
Tidied modal stuff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3372 72102866-910b-0410-8b05-ffd578937521
1998-12-03 09:25:05 +00:00
Richard Frith-MacDonald
d4c1968955
Added modal loop support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3371 72102866-910b-0410-8b05-ffd578937521
1998-12-03 06:54:56 +00:00
Richard Frith-MacDonald
135a579934
Fixed typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3364 72102866-910b-0410-8b05-ffd578937521
1998-12-01 20:59:30 +00:00
Richard Frith-MacDonald
141a4d603a
Major revision of services - all menu services stuff in place now.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3363 72102866-910b-0410-8b05-ffd578937521
1998-12-01 20:54:23 +00:00
Felipe A. Rodriguez
558b6da8c2
* NSWindow.m rename windowWithNumber to _windowWithTag per backend
...
* NSEvent.m call to windowWithNumber.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3362 72102866-910b-0410-8b05-ffd578937521
1998-12-01 19:42:35 +00:00
Adam Fedor
a1a2f7685c
Makefile fix ups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3361 72102866-910b-0410-8b05-ffd578937521
1998-12-01 14:41:53 +00:00
Richard Frith-MacDonald
0c4d973115
Fixes to auto-enabling of menu items
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3360 72102866-910b-0410-8b05-ffd578937521
1998-12-01 10:24:19 +00:00
Richard Frith-MacDonald
5c39f6f65c
Change command-line for netscape 'cos it didn't work for Felipes version
...
of netscape and the new command line works for both his and mine.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3359 72102866-910b-0410-8b05-ffd578937521
1998-11-30 20:35:07 +00:00
Adam Fedor
4022dcebf5
Panels/GNUmakefile
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3358 72102866-910b-0410-8b05-ffd578937521
1998-11-30 15:24:26 +00:00
Adam Fedor
9c57bfe34b
Use normal install rules
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3357 72102866-910b-0410-8b05-ffd578937521
1998-11-30 15:24:11 +00:00
Felipe A. Rodriguez
19f88d930b
* NSAttributedString.m and NSAttributedString.h remove.
...
* NSStringDrawing.m and NSStringDrawing.h add NSAttributedString interface
and implementation. Implement NSAttributedString's size method and
optimize tab width calculation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3352 72102866-910b-0410-8b05-ffd578937521
1998-11-30 09:40:01 +00:00
Richard Frith-MacDonald
b6a6e825f6
OpenURL.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3351 72102866-910b-0410-8b05-ffd578937521
1998-11-28 18:07:01 +00:00
Richard Frith-MacDonald
583ba54365
Add (very crude) netscape open url.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3350 72102866-910b-0410-8b05-ffd578937521
1998-11-28 18:05:01 +00:00
Richard Frith-MacDonald
5820a5250f
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3348 72102866-910b-0410-8b05-ffd578937521
1998-11-28 08:33:18 +00:00
Richard Frith-MacDonald
ed605820af
NSColor updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3347 72102866-910b-0410-8b05-ffd578937521
1998-11-28 07:40:51 +00:00
Richard Frith-MacDonald
e2e3ee76c9
Update to get system colors working with backend
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3346 72102866-910b-0410-8b05-ffd578937521
1998-11-28 07:38:26 +00:00
Felipe A. Rodriguez
e75279e0eb
* GSContext.m/.h second rewrite and polish of API.
...
* NSView.m displayrect add flushWindow at end.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3339 72102866-910b-0410-8b05-ffd578937521
1998-11-27 12:17:37 +00:00
Felipe A. Rodriguez
16dab0eb75
* Panels/GNUmakefile make local targets double colon, add local clean to
...
fix make clean failure.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3335 72102866-910b-0410-8b05-ffd578937521
1998-11-27 04:53:24 +00:00
Felipe A. Rodriguez
d075ae5aa6
* NSApplication.m add updateServicesMenu invocation accidently deleted
...
during merge. Move method from _eventMatchingMask to tail of run
method for performance reasons.
* Tools/dummy.m add various new dummy functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3334 72102866-910b-0410-8b05-ffd578937521
1998-11-26 16:22:17 +00:00
Felipe A. Rodriguez
a9081b84b2
* NSWorkspace.m add NSProcessInfo include.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3326 72102866-910b-0410-8b05-ffd578937521
1998-11-25 19:51:25 +00:00
Felipe A. Rodriguez
4dd58372f6
* move DPSOperators.h to XDPS.
...
* move GPS headers into a new backend.
* define GSContext.h/GSContext.m as abstract super for all drawing
destinations (eliminates the need for DPS, GPS, DGS at the root of
the AppKit) add appropriate defintion to various classes.
* NSMatrix.m add abstract backend code from xraw (eliminate backend).
* NSSlider.m add abstract backend code from xraw (eliminate backend).
* NSSliderCell.m add abstract backend code from xraw (eliminate backend).
* NSSplitView.m add abstract backend code from xraw (eliminate backend).
replace private divider highlight method with NSHighlightRect()
* NSWindow.m add class method to create backend specific window view.
* NSTextField.m add abstract backend code from xraw (eliminate backend).
* NSForm.m add abstract backend code from xraw (eliminate backend).
* NSFormCell.m add abstract backend code from xraw (eliminate backend).
* NSColorWell.m add abstract backend code from xraw (eliminate backend).
* NSButton.m add abstract backend code from xraw (eliminate backend).
* NSControl.m add abstract backend code from xraw (eliminate backend).
* NSBox.m add abstract backend code from xraw (eliminate backend).
* NSBrowser.m add abstract backend code from xraw (eliminate backend).
* NSBrowserCell.m add abstract backend code from xraw (eliminate backend).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3321 72102866-910b-0410-8b05-ffd578937521
1998-11-25 17:16:48 +00:00