Commit graph

2310 commits

Author SHA1 Message Date
fedor
75a2d041bd Remove comment of set editable, not ready to make this yet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14908 72102866-910b-0410-8b05-ffd578937521
2002-11-02 23:20:58 +00:00
fedor
6ccbf6b20b Add dragging of ruler markers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14907 72102866-910b-0410-8b05-ffd578937521
2002-11-02 23:17:23 +00:00
fedor
73445405a5 Document-base app fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14904 72102866-910b-0410-8b05-ffd578937521
2002-11-01 22:42:52 +00:00
gcasa
00c2564afb Adding logic for .gorm file directories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14892 72102866-910b-0410-8b05-ffd578937521
2002-10-31 14:59:18 +00:00
pyr
89ef1d72c9 * Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
Move code from setFrame: & resizeWithOldSuperviewSize:
  to resizeSubviewsWithOldSize:.

* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
  make the window a little bit higher. Some ColorPickers would not fit.
* ColorPickers/GSCMYKColorPicker.tiff:
* ColorPickers/GSGrayColorPicker.tiff:
* ColorPickers/GSHSBColorPicker.tiff:
* ColorPickers/GSRGBColorPicker.tiff:
  resize so that the image fits within the NSButton.
  (only blank area was removed)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14868 72102866-910b-0410-8b05-ffd578937521
2002-10-29 18:00:15 +00:00
fedor
9984a9375e Remove typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14865 72102866-910b-0410-8b05-ffd578937521
2002-10-29 04:54:44 +00:00
fedor
6b65871481 Load prolog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14863 72102866-910b-0410-8b05-ffd578937521
2002-10-29 03:46:39 +00:00
fedor
3766e95ce1 Printing impl.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14862 72102866-910b-0410-8b05-ffd578937521
2002-10-29 02:48:16 +00:00
CaS
c7efda6fab Mmory leak fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14856 72102866-910b-0410-8b05-ffd578937521
2002-10-28 09:09:14 +00:00
CaS
c295765267 Attempted fix for multiple dealloc problems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14855 72102866-910b-0410-8b05-ffd578937521
2002-10-28 08:08:57 +00:00
pyr
118c53a894 * Source/NSMenuView.m ([NSMenuView -trackWithEvent:]):
new tracking code. The menu feels snappier now (at least for me).

* Source/NSColorWell.m ([-activate:], [-deactivate])
  register/unregister for NSColorPanelColorChangedNotification.
  ([NSColorWell _takeColorFromPanel:]): new method to prevent endless
  loop when setting the well's color from the color panel.
  ([NSColorWell -initWithCoder:]): register for NSColorPboardType.

* Source/NSColorPanel.m ([NSColorPanel -_bottomWellAction:]):
  called when hitting one of the well at the bottom of the panel.
  Previous behaviour would not send a
  NSColorPanelColorChangedNotification.
  ([NSColorPanel -initWithCoder:]): update bottom wells construction to
  call _bottomWellAction: instead of takeColorFrom:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14853 72102866-910b-0410-8b05-ffd578937521
2002-10-27 22:33:16 +00:00
fedor
bd896cbb66 Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14852 72102866-910b-0410-8b05-ffd578937521
2002-10-27 02:47:43 +00:00
fedor
514c3aa13e Stub implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14847 72102866-910b-0410-8b05-ffd578937521
2002-10-26 03:35:11 +00:00
fedor
5610a38d95 Document NSDocumentController, imrpove setting directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14845 72102866-910b-0410-8b05-ffd578937521
2002-10-26 02:38:34 +00:00
fedor
4579d434e7 Remove encodingForRegistry:encoding:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14832 72102866-910b-0410-8b05-ffd578937521
2002-10-22 03:24:48 +00:00
CaS
d43b8b0077 Typo fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14809 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:23:59 +00:00
CaS
ca36571cc6 Fix coding bugs etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14808 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:20:46 +00:00
CaS
82d40abd70 Rewrite key view handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14805 72102866-910b-0410-8b05-ffd578937521
2002-10-21 13:03:23 +00:00
nico
5b3b0ef612 Fixed setNextKeyView: and setPreviousKeyView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14803 72102866-910b-0410-8b05-ffd578937521
2002-10-20 23:56:30 +00:00
fedor
feaf4828d5 More focus fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14800 72102866-910b-0410-8b05-ffd578937521
2002-10-20 01:48:55 +00:00
nico
d6e7072b6e Get the GSBackend class in a safer way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14783 72102866-910b-0410-8b05-ffd578937521
2002-10-15 00:47:52 +00:00
nico
33210ed0c3 Fixed last change which had broken GSFileBrowserHideDotFiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14767 72102866-910b-0410-8b05-ffd578937521
2002-10-14 00:31:22 +00:00
CaS
1891c095af Tidied method argument naming.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14763 72102866-910b-0410-8b05-ffd578937521
2002-10-13 13:50:06 +00:00
CaS
ebf17d372b Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14762 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:33:26 +00:00
CaS
ed00ac6d93 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14760 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:26:57 +00:00
CaS
39011c43ca Fix error in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14759 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:13:38 +00:00
CaS
f2da05104e Tidied for documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14758 72102866-910b-0410-8b05-ffd578937521
2002-10-13 09:16:17 +00:00
CaS
4c5d36f0ae Tidied for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14752 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:10:44 +00:00
CaS
3550daa6a3 SRome documentation tidyupsi
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14751 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:00:38 +00:00
CaS
96dde22989 Avoid problem with DEFINE_RINT_IF_MISSING
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14750 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:30:02 +00:00
CaS
b6ba718583 Update documentation building
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14749 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:17:04 +00:00
gcasa
58d4138cba Adding custom class changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14747 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:03:10 +00:00
CaS
438c317b9e Minor mod to improve performance and avoid warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14745 72102866-910b-0410-8b05-ffd578937521
2002-10-13 04:45:29 +00:00
fedor
9f39142905 Document. Fix up NSDebugLogs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14727 72102866-910b-0410-8b05-ffd578937521
2002-10-12 03:14:22 +00:00
nico
e0159ddd70 Return a nil font if such a font can't be found; try to find an appropriate
font when loading a default font.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14711 72102866-910b-0410-8b05-ffd578937521
2002-10-10 23:27:51 +00:00
nico
558d7e964e Implemented pageUp: and pageDown:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14709 72102866-910b-0410-8b05-ffd578937521
2002-10-10 19:05:02 +00:00
nico
96ba8c1256 Use 't' as key equivalent for the font panel; 'f' is for 'find'
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14707 72102866-910b-0410-8b05-ffd578937521
2002-10-10 18:18:03 +00:00
FredKiefer
df40fbfea2 Handle seting of an empty dash in [setLineDash:count:phase:].
[_doPath] now always sends the dash pattern, even when empty.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14699 72102866-910b-0410-8b05-ffd578937521
2002-10-10 09:47:48 +00:00
fedor
f3cfa66e90 Constrain windows that are off bottom of screen also.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14695 72102866-910b-0410-8b05-ffd578937521
2002-10-10 03:10:31 +00:00
fedor
12feed898b Fix focus on hide problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14694 72102866-910b-0410-8b05-ffd578937521
2002-10-09 17:35:03 +00:00
fedor
fb3f2ea067 Add Quartz-like interface. Fix focus problems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14678 72102866-910b-0410-8b05-ffd578937521
2002-10-09 02:47:40 +00:00
nico
d72f8e94e4 Mostly rewritten - should no longer crash with new internals, and be quite
better


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14675 72102866-910b-0410-8b05-ffd578937521
2002-10-08 18:01:38 +00:00
nico
bbf4f470ca Set the layout manager's text storage to nil when we remove it, since we
are the ones setting it to non-nil when we add it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14673 72102866-910b-0410-8b05-ffd578937521
2002-10-08 17:58:09 +00:00
nico
e49060e479 Fixed bugs in replaceLayoutManager:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14672 72102866-910b-0410-8b05-ffd578937521
2002-10-08 17:57:33 +00:00
gcasa
37894d4104 Added NSButtonTemplate. Made changes to some of the other templates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14671 72102866-910b-0410-8b05-ffd578937521
2002-10-08 06:30:13 +00:00
gcasa
6db538c88b Committing additional changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14670 72102866-910b-0410-8b05-ffd578937521
2002-10-08 02:05:54 +00:00
FredKiefer
cc1307d3ae [setButtonType:] use those new names. Corrected [cellAttribute:]
and [setCellAttribute:] to use the right tests. [performClick:]
now play the sound, if provided.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14668 72102866-910b-0410-8b05-ffd578937521
2002-10-07 23:42:02 +00:00
fedor
4aba3cb17a Minor browser column fix. Change some methods to take void *
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14663 72102866-910b-0410-8b05-ffd578937521
2002-10-07 17:05:06 +00:00
gcasa
9b79751a63 Changes necessary in the gui library to implement custom class support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14660 72102866-910b-0410-8b05-ffd578937521
2002-10-06 23:59:30 +00:00
fedor
7dde67abce Implement non-separated columns.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14645 72102866-910b-0410-8b05-ffd578937521
2002-10-04 18:47:04 +00:00
fedor
c6fdfc994b New ivar for mouseDown view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14635 72102866-910b-0410-8b05-ffd578937521
2002-10-04 02:44:13 +00:00
CaS
520d119709 Fix for Enrico
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14629 72102866-910b-0410-8b05-ffd578937521
2002-10-02 12:17:08 +00:00
nico
64e7845179 Fixed sending out the controlTextDidBeginEditingNotification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14626 72102866-910b-0410-8b05-ffd578937521
2002-10-02 10:36:37 +00:00
CaS
5ab6e68dd7 Workspace fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14624 72102866-910b-0410-8b05-ffd578937521
2002-10-02 04:35:25 +00:00
fedor
9d8d7f9fde flip and audio fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14623 72102866-910b-0410-8b05-ffd578937521
2002-10-02 03:34:54 +00:00
nico
8dfa929763 Renamed an ivar; fixed positioning of insertion point when clicking
after the last char (or before the first char) of a line


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14619 72102866-910b-0410-8b05-ffd578937521
2002-10-01 16:19:01 +00:00
nico
93b70c6804 Fixed moving to the end of the 'one before the last' line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14618 72102866-910b-0410-8b05-ffd578937521
2002-10-01 16:17:23 +00:00
CaS
855c744745 Fix stupid error in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14591 72102866-910b-0410-8b05-ffd578937521
2002-09-27 13:37:29 +00:00
CaS
4658c7dc35 Font caching rewrite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14590 72102866-910b-0410-8b05-ffd578937521
2002-09-27 12:25:02 +00:00
CaS
898e2814df Fix error in caching.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14589 72102866-910b-0410-8b05-ffd578937521
2002-09-27 09:05:02 +00:00
CaS
bbe972eef7 Fix caching.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14588 72102866-910b-0410-8b05-ffd578937521
2002-09-27 08:52:04 +00:00
CaS
ab43ceed49 Minor tidyups ... nothing functional
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14587 72102866-910b-0410-8b05-ffd578937521
2002-09-27 08:26:13 +00:00
FredKiefer
45e32b29a4 Removed the coder methods as they were just super calls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14561 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:56:31 +00:00
FredKiefer
371bc78eed Moved method [NSBundle pathForSoundResource:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14560 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:56:08 +00:00
FredKiefer
73c54f7230 Moved method [NSBundle pathForImageResource:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14559 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:55:44 +00:00
FredKiefer
ebe7ed977a Moved add-on methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14558 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:55:19 +00:00
nico
a8843e8b92 Localized strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14546 72102866-910b-0410-8b05-ffd578937521
2002-09-25 01:52:05 +00:00
nico
75cdeba43d Updated localization macros for new GSGuiPrivate - should be parseable
by make_strings now


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14545 72102866-910b-0410-8b05-ffd578937521
2002-09-25 01:51:23 +00:00
nico
61d022a244 Fixed [_window makeFirstResponder: aTextField] to actually select the text
in the textfield


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14539 72102866-910b-0410-8b05-ffd578937521
2002-09-24 14:36:59 +00:00
nico
3e69a4287e Do not force an immediate display in editXxx: and selectXxxx:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14538 72102866-910b-0410-8b05-ffd578937521
2002-09-24 14:35:52 +00:00
nico
82eb86b11a Added FIXME
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14533 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:34:15 +00:00
nico
a688e33968 Added -dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14532 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:33:36 +00:00
nico
90bbe7b1e8 Remove the delegate from the notification center in -dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14531 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:33:09 +00:00
nico
3be0c5db02 Remove the delegate from the notification center in -dealloc; cache the
default notification center


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14530 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:32:42 +00:00
nico
c51012e260 Fixed typo in last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14529 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:30:29 +00:00
nico
c9b7054627 Added FIXME
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14528 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:29:14 +00:00
nico
973353b6cb Remove the delegate from the notification center in -dealloc; cache the
default notification center for the whole class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14527 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:28:12 +00:00
nico
224ef09258 Added missing dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14526 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:22:50 +00:00
nico
e2be4ba3d1 Improved error messages when loading the backend fails
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14521 72102866-910b-0410-8b05-ffd578937521
2002-09-23 13:26:26 +00:00
CaS
156d1d22dd Fix some coding standard errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14520 72102866-910b-0410-8b05-ffd578937521
2002-09-23 05:52:36 +00:00
FredKiefer
84dc37bfb4 Removed unused ivar _numberOfRows from NSBrowserColumn.
Made GSBrowserTitleCell a subclass of NSTableHeaderCell.
Corrected [scrollColumnToVisible:], so that the column becomes
visible but not always last. Adopted [scrollViaScroller:] to this
change. Inlined most private methods and optimized the
code. Reorganized [_performLoadOfColumn:] to remove code
duplication. Set the title of a column here and not each time
when drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14513 72102866-910b-0410-8b05-ffd578937521
2002-09-22 22:10:50 +00:00
alexm
d01649dcc9 Don't set uses_font_panel and uses_ruler to YES until initialization is done.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14511 72102866-910b-0410-8b05-ffd578937521
2002-09-22 14:35:22 +00:00
alexm
5b626bb4e2 Update the size in the preview and size browser when the size text field changes. Set sane defaults _before_ setting the current font.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14510 72102866-910b-0410-8b05-ffd578937521
2002-09-22 14:33:41 +00:00
alexm
61cc498161 Handle becomesKeyOnlyIfNeeded in NSPanel properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14508 72102866-910b-0410-8b05-ffd578937521
2002-09-21 23:33:37 +00:00
gcasa
67baee0c6d Corrected preprocessor compilation problem w/ NSOutlineView and NSToolbar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14507 72102866-910b-0410-8b05-ffd578937521
2002-09-21 22:57:25 +00:00
alexm
293ff83e71 When the family changes, score all faces in the new family and select the one that differs the least from what we want.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14504 72102866-910b-0410-8b05-ffd578937521
2002-09-21 15:52:42 +00:00
CaS
5b7fd41ef0 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14488 72102866-910b-0410-8b05-ffd578937521
2002-09-19 09:06:32 +00:00
CaS
686fca8eeb Minor documentation generation update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14486 72102866-910b-0410-8b05-ffd578937521
2002-09-19 05:55:41 +00:00
pyr
4ecddd4517 * Source/NSSplitView.m ([NSSplitView -initWithCoder:]):
set _never_displayed_before to YES.
* Source/NSFont.m: rearrange the last change to make
  it look like other classes' initWithCoder/encodeWithCoder
* Source/NSTextView.m: do not call _blink directly
  (suggested by Nicola Pero).
* Source/NSButtonCell.m
  ([NSButtonCell -drawInteriorWithFrame:inView:]):
  if the button is NSImageOnly, draw the dotted frame at
  the right location.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14483 72102866-910b-0410-8b05-ffd578937521
2002-09-18 18:00:30 +00:00
alexm
d5342ebd2e Fix encoding/decoding of matrixExplicitlySet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14466 72102866-910b-0410-8b05-ffd578937521
2002-09-16 18:23:13 +00:00
alexm
2fb0700465 Make last change C89 compatible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14465 72102866-910b-0410-8b05-ffd578937521
2002-09-16 17:11:12 +00:00
alexm
f330e81ccd In -close, retain and release self to make sure it isn't deallocated too early.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14464 72102866-910b-0410-8b05-ffd578937521
2002-09-16 17:08:18 +00:00
FredKiefer
e18f0f9c1c drawRun() now correctly flags that it wants some temporary memory
allocated. The old behaviour resulted in a memory leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14451 72102866-910b-0410-8b05-ffd578937521
2002-09-15 21:25:00 +00:00
FredKiefer
0b9c3cc38a Use _lastColumnLoaded instead of _lastVisibleColumn in
[selectAll:]. Implemented MacOSX [drawTitleOfColumn:inRect:].
Optimized [matrixInColumn:] and use it where suitable.
Moved calls to [_adjustMatrixOfColumn:] inside of [_performLoadOfColumn:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14450 72102866-910b-0410-8b05-ffd578937521
2002-09-15 21:24:32 +00:00
pyr
0bf1a03438 * Source/NSMenuView.m:
New private method [NSMenuView -_itemCell] in newly created
  GNUstepPrivate category.
* Source/NSMenu.m:
  Add GNUstepPrivate interface of NSMenuView.
  [NSMenu -_setOwnedByPopUp:]: update itemCells' menuView
  (fix NSPopUpButtonCell-decoding problem).
* Source/NSPopUpButtonCell.m
  ([NSPopUpButtonCell -synchronizeTitleAndSelectedItem]):
  Fix "mouseUp outside of menu" problem. Now the previous
  selected item stay selected.
  ([NSPopUpButtonCell -initWithCoder:]):
  Set the selectedItem properly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14446 72102866-910b-0410-8b05-ffd578937521
2002-09-15 14:02:17 +00:00
alexm
d2342fdf45 Don't un-flip coordinates when drawing in flipped views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14445 72102866-910b-0410-8b05-ffd578937521
2002-09-15 11:20:32 +00:00
alexm
3a937cbaaf Make the font panel work with the recent NSBrowser changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14439 72102866-910b-0410-8b05-ffd578937521
2002-09-14 11:38:30 +00:00
pyr
9ae9ab48a3 * Source/NSText.m ([NSText -initWithCoder:]):
Retain the decoded background color.

	* Source/NSTextView.m :
	multiple location: don't ignore textContainer's inset
	([NSTextView -initWithCoder:])
	([NSTextView -encodeWithCoder:])
	Encode caret color, textContainer's size and whether the
	textContainer has widthTracksTextView or heightTracksTextView set.
	([NSTextView -sizeToFit]) Change width (height) only if
	is_horizontally_resizable (is_vertically_resizable).
	([NSTextView -scrollRangeToVisible:]) scrolls to the first char of
	the range.
	([NSTextView -invalidateTextContainerOrigin]): Don't ignore inset,
	set the origin so that the justification is preserved even if the
	textContainer's width is larger that the textview's width.
	([NSTextView -updateInsertionPointStateAndRestartTimer:]):
	update and place the insertion point properly.
	([NSTextView -moveDown:]) & ([NSTextView -moveUp:]):
	Don't ignore inset. Make insertion point visible.

	* Source/NSTextField.m ([NSTextField -acceptsFirstResponder:]):
	responds NO if the editing is still in progrss.

	* Source/NSLayoutManager.m
	([NSLayoutManager -drawBackgroundForGlyphRange:atPoint:]):
	Don't ignore textContainer's inset.

	* Source/GSSimpleLayoutManager.m
	Replaced [-drawLinesInLineRange:] with [-drawLinesInLineRange:atPoint:].
	Replaced [-drawSelectionAsRangeNoCaret:] with
	[-drawSelectionAsRangeNoCaret:atPoint:].
	Those replacements make it easier to take inset into account.
	([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:])
	([-locationForGlyphAtIndex:])
	([-boundingRectForGlyphRange:inTextContainer:])
	([-rectForCharacterIndex:])
	([-setNeedsDisplayForLineRange:inTextContainer:]):
	Various fixes.
	([-textStorage:edited:range:changeInLength:invalidatedRange:])
	Update insertion point if needed (useful when alignment changes).
	([-rebuildForRange:delta:inTextContainer:]):
	Update layout mechanism.

	* Source/NSCell.m
	([NSCell -highlight:withFrame:inView:]):
	Ask the control to draw the background if we are not opaque.
	([NSCell -editWithFrame:inView:editor:delegate:event:]):
	([NSCell -selectWithFrame:inView:editor:delegate:start:length:]):
	([NSCell -endEditing:]):
	instantiate (and remove) the textview so that it can be scrolled.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14429 72102866-910b-0410-8b05-ffd578937521
2002-09-11 20:26:27 +00:00
fedor
d09d2a20e3 Fix up for change in NSBrowser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14419 72102866-910b-0410-8b05-ffd578937521
2002-09-08 04:21:10 +00:00
fedor
a01856e889 Add back +initialize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14418 72102866-910b-0410-8b05-ffd578937521
2002-09-08 03:23:31 +00:00