Commit graph

2080 commits

Author SHA1 Message Date
nico
1f93b5465b When changing the scroller frame, do not add the arrows if they are not
already there


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13786 72102866-910b-0410-8b05-ffd578937521
2002-06-06 09:40:56 +00:00
nico
502dc13cef Indented
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13785 72102866-910b-0410-8b05-ffd578937521
2002-06-06 09:38:11 +00:00
nico
5155461c45 Fixed argument of the applicationShouldTerminate: message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13783 72102866-910b-0410-8b05-ffd578937521
2002-06-06 08:35:19 +00:00
CaS
705ea5944f Patch by jeff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13782 72102866-910b-0410-8b05-ffd578937521
2002-06-06 05:22:45 +00:00
nico
f170cf8df9 Cleaned preprocessor #endif
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13778 72102866-910b-0410-8b05-ffd578937521
2002-06-05 15:19:38 +00:00
fedor
62bb2f3a39 Transfer beep to GSDisplayServer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13763 72102866-910b-0410-8b05-ffd578937521
2002-06-04 02:19:23 +00:00
nico
58ee64e06d Added long comment about why we should not be trying to approximate cell
sizes here


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13704 72102866-910b-0410-8b05-ffd578937521
2002-05-26 15:34:40 +00:00
nico
4062c657a5 Rewritten autoresizing - and now should be used also when setFrame: or setFrameSize:
is called.  Do not round cellsizes to be integers as that is just removing
information we instead want to pass to the backend for better rendering.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13703 72102866-910b-0410-8b05-ffd578937521
2002-05-26 15:25:03 +00:00
nico
ba6328711c More careful checking for the special case of no text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13683 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:35:10 +00:00
nico
b5967a3cbe Updated for the fact the NSHighlightRect() no longer flushes the window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13681 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:06:09 +00:00
nico
f6326dbf0c Updated and simplified code for the fact we no longer flush the window
in NSHighlightRect()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13680 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:05:25 +00:00
nico
4a49f2904b Do not flush the window during an NSHighlightRect()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13679 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:04:47 +00:00
nico
9d52800942 Indented some lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13678 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:51:26 +00:00
nico
7aad55d98c Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13677 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:45:48 +00:00
nico
2dbac9bc4a Fixed variable declared with the wrong type
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13671 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:59:03 +00:00
nico
3b42ae1dee Tidied comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13670 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:54:10 +00:00
FredKiefer
a4cd7954a3 [rectOfItemAtIndex:] for horizontal orientation set items from
left to right. [locationForSubmenu:] for horizontal orientation
set submenu below the item in self.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13662 72102866-910b-0410-8b05-ffd578937521
2002-05-17 09:20:59 +00:00
fedor
ffd1676ce5 Make sure context is released
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13654 72102866-910b-0410-8b05-ffd578937521
2002-05-14 18:49:00 +00:00
FredKiefer
073a68d9d5 Moved the caching of fonts from [initWithName:matrix:] to
[fontWithName:matrix:] so that unneeded fonts are no longer
created. In [labelFontSize], [smallSystemFontSize] and
[systemFontSize] get values from defaults if available. In
getNSFont() removed hard coded 12, will be relaced by default for
NSUserFontSize.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13648 72102866-910b-0410-8b05-ffd578937521
2002-05-13 22:15:53 +00:00
FredKiefer
4b24b0d803 In initSystemColors() and systemColorWithName() replaced
implementation of system colours with named colours from a stored
colour list. Added conversion cache for named colours. This allows
easy configuration of system colours while keeping the same performance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13647 72102866-910b-0410-8b05-ffd578937521
2002-05-13 22:15:01 +00:00
nico
c0d3cf0bdb More clean up in dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13633 72102866-910b-0410-8b05-ffd578937521
2002-05-12 11:23:12 +00:00
CaS
b311bf3e81 Standardise API for character conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13630 72102866-910b-0410-8b05-ffd578937521
2002-05-11 07:17:33 +00:00
nico
0fa93ae911 Fixed error in deallocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13621 72102866-910b-0410-8b05-ffd578937521
2002-05-10 12:37:31 +00:00
fedor
573f743858 Flip font on set if needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13605 72102866-910b-0410-8b05-ffd578937521
2002-05-08 03:28:09 +00:00
fedor
5180fd5339 Stroke the underline
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13601 72102866-910b-0410-8b05-ffd578937521
2002-05-07 03:37:48 +00:00
fedor
1c9c720d01 Check superview frame size before getting it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13568 72102866-910b-0410-8b05-ffd578937521
2002-05-01 16:59:10 +00:00
gcasa
1360c93876 Committing alex's change to NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13545 72102866-910b-0410-8b05-ffd578937521
2002-04-26 04:30:04 +00:00
fedor
5ea51941b5 New mouselocation methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13530 72102866-910b-0410-8b05-ffd578937521
2002-04-23 20:50:24 +00:00
fedor
f7a20d6c96 Screen handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13524 72102866-910b-0410-8b05-ffd578937521
2002-04-22 15:45:10 +00:00
nico
4dc1bb3706 Added NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13515 72102866-910b-0410-8b05-ffd578937521
2002-04-21 12:53:34 +00:00
ludovic
03500c6bba Fixed some minor issues with NSOutlineView's delegate methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13509 72102866-910b-0410-8b05-ffd578937521
2002-04-18 22:44:04 +00:00
pyr
cc749825e7 Source/NSMenuItem.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13489 72102866-910b-0410-8b05-ffd578937521
2002-04-17 19:57:36 +00:00
CaS
f47011885e Improved logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13480 72102866-910b-0410-8b05-ffd578937521
2002-04-16 14:16:37 +00:00
fedor
fd9cde5c4e Revise window ops
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13469 72102866-910b-0410-8b05-ffd578937521
2002-04-15 02:52:35 +00:00
fedor
dd5595fee8 Change so rint is only defined when needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13464 72102866-910b-0410-8b05-ffd578937521
2002-04-12 02:15:51 +00:00
nico
e4dfa162c9 No longer need to manually fix button sizes after autosizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13452 72102866-910b-0410-8b05-ffd578937521
2002-04-12 00:02:26 +00:00
nico
7cf2c8ef9d Add more space around autosized buttons so that they are usable without
manual intervention


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13451 72102866-910b-0410-8b05-ffd578937521
2002-04-12 00:02:00 +00:00
nico
1f9a6fcb76 Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13447 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:29:32 +00:00
nico
c87007f3f8 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13442 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:17:42 +00:00
nico
d718498b11 Added missing #includes and fixed minor dealloc problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13441 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:15:40 +00:00
nico
e08cdc2a54 Renamed -sanity to -_sanity, and always compile it, to make it available
to regression tests


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13426 72102866-910b-0410-8b05-ffd578937521
2002-04-11 14:38:19 +00:00
nico
7264ea1309 Added workaround for OSX bug in +new ... to get portability to OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13421 72102866-910b-0410-8b05-ffd578937521
2002-04-11 10:23:28 +00:00
fedor
ea52dd291c Put RINT defs in config.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13420 72102866-910b-0410-8b05-ffd578937521
2002-04-11 02:18:13 +00:00
fedor
6f0771768b Remove old grpahics funcs, Update window's defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13417 72102866-910b-0410-8b05-ffd578937521
2002-04-10 22:04:39 +00:00
nico
36394640dd Changed so that setFrame: and setFrameSize: will autoresize the gstable contents.
Removed lockFocus/unlockFocus optimization for easier portability.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13406 72102866-910b-0410-8b05-ffd578937521
2002-04-10 00:27:05 +00:00
nico
0f47f2c471 Fixed bug - scroller not being redisplayed when knobProportion: changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13404 72102866-910b-0410-8b05-ffd578937521
2002-04-09 23:39:21 +00:00
ludovic
87b610421a See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13402 72102866-910b-0410-8b05-ffd578937521
2002-04-08 23:26:59 +00:00
fedor
ef321d75b7 Cleanup printing after exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13387 72102866-910b-0410-8b05-ffd578937521
2002-04-07 02:16:56 +00:00
FredKiefer
5bf6709e60 In [updateRuler] set the client view of the ruler view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13381 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:36:40 +00:00
FredKiefer
d94974edf7 Corrected [drawRect:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13380 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:36:12 +00:00