Commit graph

4644 commits

Author SHA1 Message Date
nico
60243f8366 String drawing updates/fixes; preliminary [NSCell -setObjectValue:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6285 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:48:26 +00:00
nico
68098e8c9f Removed files - nice code but was duplicating already existing code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6284 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:43:34 +00:00
nico
d7628e8bd9 Removed unused file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6283 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:42:17 +00:00
nico
cfd03df7f1 Little update in auto-sizing for @"" contents
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6282 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:41:39 +00:00
nico
7b4864f828 Use NSString interface to determine size of string to be drawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6281 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:40:43 +00:00
nico
23c669a522 Do not include unused header file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6280 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:39:39 +00:00
nico
c3e7d7f3fa Fixed vertical position of text; added method preparing for the table view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6279 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:33:38 +00:00
jdess
f916db8dcd Added documentation for NSSlider and NSSlider cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6278 72102866-910b-0410-8b05-ffd578937521
2000-03-14 04:06:23 +00:00
fedor
327673731a wraster library support and alpha/compositing improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6272 72102866-910b-0410-8b05-ffd578937521
2000-03-12 04:35:43 +00:00
richard
865001dd03 Fix error in deetermining range of paragraph style - was only working for
text containing a single style.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6269 72102866-910b-0410-8b05-ffd578937521
2000-03-11 07:34:02 +00:00
richard
c68c19513f Panel reformatting and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6268 72102866-910b-0410-8b05-ffd578937521
2000-03-11 06:57:22 +00:00
pjb
78ad795120 Updated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6266 72102866-910b-0410-8b05-ffd578937521
2000-03-10 21:48:52 +00:00
richard
6d5fe50cac Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6264 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:32:41 +00:00
pjb
561911c9b8 Corrected the previous ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6263 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:22:52 +00:00
pjb
7ae5bf2385 Added the following features to GSAlertPanel private subclass of
NSPanel:

    - fit  the height  of the  panel according  to the  height  of the
      message, in addition to the width.

    - when the final  size for the panel is much too big respective to
      the screen,  it is reduced, and  the message is put  in a scroll
      view.

    - made the  attention panel stay  visible when the  application is
      deactivated as manded by the OpenStep specifications.

    - more than one attention panel can be run simultaneously, without
      the later invocation stealing the panel of the former one.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6262 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:19:25 +00:00
pjb
b19b760d82 Moved constant invocation of the method -[NSParagraphStyle
attribute:atIndex:effectiveRange:]   outside  of  loops   and  removed
firstLine variable in -drawAtPoint: and in -size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6261 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:19:16 +00:00
pjb
264ec9a7e3 Mainly, changes to NSPanel functions, including a scrollview for big messages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6260 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:06:57 +00:00
pjb
d6658b7c3f Added GSUtil.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6258 72102866-910b-0410-8b05-ffd578937521
2000-03-10 13:28:19 +00:00
pjb
23a6b9f034 Updated -cellSize to process multiline string value. This should
improve greately the behaviour  of NSTextField and consequently of the
NSPanel building functions.

Updated -[NSCell _drawText:inFrame:]
and -[NSButtonCell drawInteriorWithFrame:inView:]
to handle properly multiline strings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6257 72102866-910b-0410-8b05-ffd578937521
2000-03-10 13:27:50 +00:00
pjb
99f2fb6496 Added this module to gather utility functions used by several classes.
For now, it only contains GSUtil_sizeOfMultilineStringWithFont().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6256 72102866-910b-0410-8b05-ffd578937521
2000-03-10 13:27:07 +00:00
nico
b8e3c87ba7 Fixed bug in nssplitview
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6253 72102866-910b-0410-8b05-ffd578937521
2000-03-10 12:42:07 +00:00
nico
e8b4b0e5b7 Bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6252 72102866-910b-0410-8b05-ffd578937521
2000-03-10 12:41:25 +00:00
richard
f847bd403c Minor documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6250 72102866-910b-0410-8b05-ffd578937521
2000-03-10 11:48:48 +00:00
richard
feb8ae9196 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6248 72102866-910b-0410-8b05-ffd578937521
2000-03-10 11:17:54 +00:00
richard
3a723df362 Tidyup - make new method public
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6247 72102866-910b-0410-8b05-ffd578937521
2000-03-10 10:34:58 +00:00
richard
7b00766409 Minor fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6246 72102866-910b-0410-8b05-ffd578937521
2000-03-10 07:48:29 +00:00
nico
bd75f0f185 Fixes in NSSplitView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6245 72102866-910b-0410-8b05-ffd578937521
2000-03-10 02:19:15 +00:00
nico
04b9709a93 Fixed bug in dragging; avoid redrawing when ignoring mouse press
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6244 72102866-910b-0410-8b05-ffd578937521
2000-03-10 02:18:15 +00:00
nico
e058ab2deb Fixed fatal problem with encoding editable textfields in gmodels from mac
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6243 72102866-910b-0410-8b05-ffd578937521
2000-03-09 23:34:20 +00:00
nico
9ebeb67e41 Fixed fatal problem with encoding editable textfields on macosx
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6242 72102866-910b-0410-8b05-ffd578937521
2000-03-09 23:32:24 +00:00
richard
e693bf4a3c Updated with fixes from base
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6241 72102866-910b-0410-8b05-ffd578937521
2000-03-09 20:35:48 +00:00
nico
d0a7d60574 Fixed bug in adjusting subviews in splitview
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6240 72102866-910b-0410-8b05-ffd578937521
2000-03-09 19:41:41 +00:00
nico
da66abb07c Fixed bug in adjusting subviews when the divider is horizontal
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6239 72102866-910b-0410-8b05-ffd578937521
2000-03-09 19:40:54 +00:00
richard
5b47fa0678 Remove spuroous code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6231 72102866-910b-0410-8b05-ffd578937521
2000-03-09 07:57:45 +00:00
nico
51ebb8412e Implemented autosizing of popup-button
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6227 72102866-910b-0410-8b05-ffd578937521
2000-03-08 23:56:41 +00:00
nico
c8f2fa87a8 Improved code regarding autosizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6226 72102866-910b-0410-8b05-ffd578937521
2000-03-08 23:55:14 +00:00
nico
a151e8cc98 Implemented code to support autosizing of the popupbutton
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6225 72102866-910b-0410-8b05-ffd578937521
2000-03-08 23:54:10 +00:00
richard
ff84afe558 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
e21a5dac06 Minor updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6223 72102866-910b-0410-8b05-ffd578937521
2000-03-08 21:26:11 +00:00
richard
157c2b745d Implement setlevel: for NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6218 72102866-910b-0410-8b05-ffd578937521
2000-03-08 18:08:26 +00:00
richard
fd4462c7af Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6216 72102866-910b-0410-8b05-ffd578937521
2000-03-08 16:45:44 +00:00
richard
dfba95af30 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6215 72102866-910b-0410-8b05-ffd578937521
2000-03-08 16:31:32 +00:00
richard
b751ba07f9 Coordinate handling fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6213 72102866-910b-0410-8b05-ffd578937521
2000-03-08 14:15:17 +00:00
richard
05a574ac3b Various tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6211 72102866-910b-0410-8b05-ffd578937521
2000-03-08 08:43:15 +00:00
richard
0e7100fb8a String drawing fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6210 72102866-910b-0410-8b05-ffd578937521
2000-03-08 08:40:58 +00:00
richard
22b9a6867b Tidied coordinate stuff to allow for window borders.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6207 72102866-910b-0410-8b05-ffd578937521
2000-03-07 12:00:00 +00:00
richard
105f8f8c7d Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6206 72102866-910b-0410-8b05-ffd578937521
2000-03-07 11:03:00 +00:00
richard
937c20b5b0 Minor fix for app activation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6203 72102866-910b-0410-8b05-ffd578937521
2000-03-07 07:23:26 +00:00
nico
49daa91de5 Improved popupbutton support in gmodels
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6202 72102866-910b-0410-8b05-ffd578937521
2000-03-07 03:52:19 +00:00
nico
9b06a4b0c1 Improved popupbutton support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6201 72102866-910b-0410-8b05-ffd578937521
2000-03-07 03:49:19 +00:00