Nicola Pero
dd8b223c61
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
Adam Fedor
c5612d5943
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
Nicola Pero
6c2475a38d
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
Nicola Pero
cddbae3289
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
Nicola Pero
0d7e20cacf
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
Nicola Pero
155b4a267f
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
Nicola Pero
68a815cb1b
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
Nicola Pero
3b8bc8cd5e
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
Nicola Pero
92e98af780
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
Nicola Pero
78174f287d
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
Nicola Pero
a629d66a89
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
Nicola Pero
484f4f444f
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
Fred Kiefer
5522e94e87
[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
Adam Fedor
f7edb957d6
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
Fred Kiefer
2d069c20fb
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
Fred Kiefer
ff596015a7
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
Nicola Pero
4dcab12c71
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
Richard Frith-Macdonald
083eb26bd3
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
Nicola Pero
333c39e035
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
Adam Fedor
0b2c1942c1
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
Adam Fedor
c629ab8ec2
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
Adam Fedor
f48f856447
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
Gregory John Casamento
626e18c7c1
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
Adam Fedor
6d269aec7d
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
Adam Fedor
309e040ca5
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
Nicola Pero
b064c1e6b1
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 Marcotte
f5800db6de
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
Pierre-Yves Rivaille
87358ab5ec
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
Richard Frith-Macdonald
199b2da394
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
Adam Fedor
90a4a2c8b8
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
Adam Fedor
b9f0e1a9cd
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
Nicola Pero
935858f1cb
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
Nicola Pero
da8c4bdb2c
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
Nicola Pero
07886ee66a
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
Nicola Pero
be371e47d7
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
Nicola Pero
d7d52ad0b1
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
Nicola Pero
d95be8275f
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
Nicola Pero
fa75f573cd
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
Adam Fedor
37f98cebdf
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
Adam Fedor
37280413e6
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
Nicola Pero
4cde9c6b88
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
Nicola Pero
7fed703729
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 Marcotte
6550f67a9d
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
Adam Fedor
935e853ceb
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
Fred Kiefer
bef97ec33b
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
Fred Kiefer
7c4581009e
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
Fred Kiefer
4aa03221e6
Added method [mouseDown:]. Added safety check for unchanged client
...
view in [setClientView:]. In [drawHashMarksAndLabelsInRect:] use
[NSFont smallSystemFontSize] instead of hard coded size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13379 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:35:52 +00:00
Adam Fedor
738d7563ed
Better debugging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13370 72102866-910b-0410-8b05-ffd578937521
2002-04-06 04:49:53 +00:00
Pierre-Yves Rivaille
245f39e232
Source/NSOutlineView.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13365 72102866-910b-0410-8b05-ffd578937521
2002-04-06 00:15:05 +00:00
Adam Fedor
228bb345cf
Update docs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
2002-04-03 16:59:43 +00:00