Commit graph

67 commits

Author SHA1 Message Date
Frank Le Grand
4b27157a46 Merged Trunk changes from rev 35219 to TestPlant branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36953 72102866-910b-0410-8b05-ffd578937521
2013-08-09 14:24:48 +00:00
Marcian Lytwyn
6bf2a257c3 Fix font panel size background color - this broke when theme colors were added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35898 72102866-910b-0410-8b05-ffd578937521
2012-12-16 02:12:13 +00:00
Eric Wasylishen
741578fb42 * Source/NSFontPanel.m: Add a tooltip on the character panel button
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33817 72102866-910b-0410-8b05-ffd578937521
2011-09-08 05:59:20 +00:00
Eric Wasylishen
4e0ff7f305 * Source/GSCharacterPanel.m: Implement -[NSApplication orderFrontCharacterPalette:]
* Source/NSFontPanel.m: Use NSApplication method to order front character palette


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33815 72102866-910b-0410-8b05-ffd578937521
2011-09-07 19:31:22 +00:00
Eric Wasylishen
896c6d73a3 Add a new character picker panel. It's accessible
via a button in the font panel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33470 72102866-910b-0410-8b05-ffd578937521
2011-07-06 18:39:49 +00:00
Fred Kiefer
2d01942e4b Replace #include -> #import
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32451 72102866-910b-0410-8b05-ffd578937521
2011-03-04 11:33:22 +00:00
Germán Arias
f02362493e Some changes in size of FontPanel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31342 72102866-910b-0410-8b05-ffd578937521
2010-09-13 00:36:45 +00:00
Eric Wasylishen
70a811b8c2 Make the NSColorPanel and NSFontPanel use NSUtilityWindowMask.
Also remove the NSMiniaturizableWindowMask from NSFontPanel.
This makes the panels behave as they do on Mac OS.
Feel free to revert/discuss if you disagree with this.. :-)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31081 72102866-910b-0410-8b05-ffd578937521
2010-08-04 05:10:56 +00:00
Wolfgang Lux
61187ead14 Usability improvement: Make color and font panels key only when
necessary. Avoids annoying and unnecessary focus shifts when changing
colors or fonts.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29681 72102866-910b-0410-8b05-ffd578937521
2010-02-20 00:20:30 +00:00
Germán Arias
4cce4bcf99 Added missing internationalisation and more strings in spanish
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29195 72102866-910b-0410-8b05-ffd578937521
2010-01-03 18:35:25 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
193e31e678 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Fabien Vallon
6d31fb37b6 Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22149 72102866-910b-0410-8b05-ffd578937521
2005-12-05 13:51:04 +00:00
Fabien Vallon
4e05a6ad9d Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22072 72102866-910b-0410-8b05-ffd578937521
2005-11-22 10:23:05 +00:00
Fabien Vallon
df23b41b8b Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22026 72102866-910b-0410-8b05-ffd578937521
2005-11-17 12:25:07 +00:00
Adam Fedor
303dd1baf9 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
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