Commit graph

51 commits

Author SHA1 Message Date
Alexander Malmberg
6f8905d60d Add updateSizeField: argument to -_trySelectSize:. Update callers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19758 72102866-910b-0410-8b05-ffd578937521
2004-07-21 17:58:24 +00:00
Alexander Malmberg
bf358056a5 (-_initWithoutGModel): Use -setTitle: to set the titles of the buttons, not -setStringValue:. Patch from Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18456 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:18:27 +00:00
Alexander Malmberg
821f7018a7 Fix typo in comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18297 72102866-910b-0410-8b05-ffd578937521
2003-12-31 00:12:36 +00:00
Alexander Malmberg
a019b68603 Ask the delegate whether a font should be included in the font panel in NSFontPanel, not when returning fonts from NSFontManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17980 72102866-910b-0410-8b05-ffd578937521
2003-10-26 14:25:13 +00:00
David Ayers
b18f1c4ac4 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Adam Fedor
6be9174933 Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Gregory John Casamento
d10d57c53e Committing Alex's font changes as well as my font panel changes and some
work I did on NSDataLink a while back (a few months ago).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16898 72102866-910b-0410-8b05-ffd578937521
2003-06-10 01:26:56 +00:00
Fred Kiefer
95bd47d86d (-setPanelFont:isMultiple:
-_trySelectSize:, -_familySelectionChanged:, -browser:...column:)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16890 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:30:01 +00:00
Fred Kiefer
3f9c960d09 [_familySelectionChanged:] removed unused local variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16763 72102866-910b-0410-8b05-ffd578937521
2003-05-21 22:07:30 +00:00
Fred Kiefer
ab61661a4a [_familySelectionChanged:] made the call to [_trySelectSize:]
safer against none existing fonts. This used to result in a NaN
being displayed as font size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16558 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:44:28 +00:00
Michael Silva
e9ccc289d5 Multiple commits from Michael, see ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16458 72102866-910b-0410-8b05-ffd578937521
2003-04-13 23:45:39 +00:00
Alexander Malmberg
5448a979d5 Make preview active by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16368 72102866-910b-0410-8b05-ffd578937521
2003-04-05 11:00:28 +00:00
Adam Fedor
356a824ea8 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
Alexander Malmberg
1cf5f94cab 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
Alexander Malmberg
d1780257ae 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
Alexander Malmberg
e12c857386 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
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
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
Adam Fedor
955aa35094 Split into Window server and graphic context handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13256 72102866-910b-0410-8b05-ffd578937521
2002-03-28 03:53:18 +00:00
Fred Kiefer
f2d4e5e7bf [reloadDefaultFontFamilies] load the family browser and redisplay
the selected font. [setPanelFont:isMultiple:] load the face
browser, store font weight and traits and display font name in
preview only if no preview string is set. [_initWithoutGModel]
made the set button the default button. Split most code from
[_togglePreview:] into separate method [_doPreview], which is
called, when the preview state should not change. In [_doPreview]
only display font name if preview string is not set.
[browser:selectRow:inColumn:], when selecting a family select a
face with the same weight and traits as the originaly
selected. When selecting a face, store its weight and traits.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12379 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:30:41 +00:00
Adam Fedor
d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Adam Fedor
22741391dc Rewrite NSPrintPanel and NSPageLayout, prepare for printing improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11155 72102866-910b-0410-8b05-ffd578937521
2001-10-16 02:09:09 +00:00
Fred Kiefer
6bb19da8bb Implement [reloadDefaultFontFamilies] and use it in [init].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10634 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:48:17 +00:00
Pierre-Yves Rivaille
4c5fd7cf4b -_initWithoutGModel: added calls to setMinColumnWidth for familyBrowser and
faceBrowser (they were not displayed)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10533 72102866-910b-0410-8b05-ffd578937521
2001-07-23 14:07:38 +00:00
Nicola Pero
f0038aa66a set up the next key view chain; init panel with defer=YES; set initial
first responder; use a custom field editor which doesn't use font panel
to avoid strange changes of fonts when editing the size


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10191 72102866-910b-0410-8b05-ffd578937521
2001-06-16 11:08:30 +00:00
Fred Kiefer
d8c9b93041 Also replaced GMModel with NSBundle in [init].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9662 72102866-910b-0410-8b05-ffd578937521
2001-04-22 23:01:23 +00:00
Nicola Pero
a54ada433d Removed hack to set splitview's subviews sizes right - no longer needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9042 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:09:03 +00:00
Nicola Pero
08072f4700 Prettified
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8820 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:03:42 +00:00
Fred Kiefer
485b84e393 [_initWithoutGModel] make the size label non-selectable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8511 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:29:13 +00:00
Fred Kiefer
a3333bd2e3 Changed system fonts of size 12 to 0. This will use Nicolas font
cache and keep font sizes consistent when changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7347 72102866-910b-0410-8b05-ffd578937521
2000-09-02 17:16:26 +00:00
Fred Kiefer
0e0ef6e274 Changed to tags for all subviews to prepare for the switch to
gmodel. [panelConvertFont:] corrected to not return nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7268 72102866-910b-0410-8b05-ffd578937521
2000-08-27 22:29:24 +00:00
Richard Frith-MacDonald
91e30dedde Various text/font fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6291 72102866-910b-0410-8b05-ffd578937521
2000-03-16 14:16:46 +00:00
Richard Frith-MacDonald
91baf8d04c Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6224 72102866-910b-0410-8b05-ffd578937521
2000-03-08 21:55:05 +00:00
Richard Frith-MacDonald
97682c853d Font fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6125 72102866-910b-0410-8b05-ffd578937521
2000-02-28 07:41:18 +00:00
Nicola Pero
bc5640f707 Almost complete rewrite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6071 72102866-910b-0410-8b05-ffd578937521
2000-02-22 17:49:28 +00:00
Nicola Pero
d327fda457 Rewrite of NSFontManager, NSFontPanel stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5861 72102866-910b-0410-8b05-ffd578937521
2000-01-25 14:36:17 +00:00
Richard Frith-MacDonald
842c33e3d0 Removed bodus methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5191 72102866-910b-0410-8b05-ffd578937521
1999-11-15 16:51:29 +00:00
Adam Fedor
0bfd542562 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
Richard Frith-MacDonald
a3c6189002 Fixes for system colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4777 72102866-910b-0410-8b05-ffd578937521
1999-08-31 09:19:39 +00:00
Michael Silva
39f37c46e6 nib2gmodel on MacOSX patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4406 72102866-910b-0410-8b05-ffd578937521
1999-06-14 20:33:19 +00:00
Michael Silva
a48c6b61da Fixed drawing errors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4295 72102866-910b-0410-8b05-ffd578937521
1999-05-25 19:22:41 +00:00
Michael Silva
742048e760 Fixed more fontpanel drawing...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3978 72102866-910b-0410-8b05-ffd578937521
1999-03-25 20:58:12 +00:00
Michael Silva
42f2a761a5 Tidy up font panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3964 72102866-910b-0410-8b05-ffd578937521
1999-03-23 22:36:58 +00:00
Michael Silva
7987274812 Tidy up font panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3962 72102866-910b-0410-8b05-ffd578937521
1999-03-23 22:32:26 +00:00
Michael Silva
fc2c643d2a Added NSFontPanel init:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3960 72102866-910b-0410-8b05-ffd578937521
1999-03-23 21:03:52 +00:00
Richard Frith-MacDonald
dbbeff810a Merged in 'dawn' CVS branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
1999-03-02 08:58:30 +00:00
Scott Christley
aee90a695e Convert to the GNUstep makefile package.
The config.h files should not be installed with the other
header files; it is only used for compilation, so the source
files should include it not the header files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2439 72102866-910b-0410-8b05-ffd578937521
1997-09-23 22:43:24 +00:00
Scott Christley
151bf11e2c Header files reorganized. All the definitions were moved in appropiate files.
Each header file includes only the header files it needs and it uses
@class to forward reference a class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2189 72102866-910b-0410-8b05-ffd578937521
1997-02-18 00:29:25 +00:00
Scott Christley
50604fcf31 Corrected FSF address and moved comment about NET-Community
support into SUPPORT file.
Additional NSImage work.
Added resources for common TIFF images.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1869 72102866-910b-0410-8b05-ffd578937521
1996-10-18 17:14:13 +00:00
GNUstep Maintainer
fed5dc1dfb Replace use of NSLog with NSDebugLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1644 72102866-910b-0410-8b05-ffd578937521
1996-07-11 00:59:30 +00:00