Commit graph

4348 commits

Author SHA1 Message Date
Richard Frith-MacDonald
2f3ba4d843 Support overriding of methods in any class by the theme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29042 72102866-910b-0410-8b05-ffd578937521
2009-11-20 12:13:10 +00:00
Richard Frith-MacDonald
f2a8d1d58c api cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29039 72102866-910b-0410-8b05-ffd578937521
2009-11-19 20:37:43 +00:00
Richard Frith-MacDonald
09c902f201 theming cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29024 72102866-910b-0410-8b05-ffd578937521
2009-11-16 14:28:11 +00:00
Fred Kiefer
73f0d0ca88 Clean up for NSSlider and NSSliderCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29022 72102866-910b-0410-8b05-ffd578937521
2009-11-16 12:26:38 +00:00
Fred Kiefer
40a81ac812 Attempt to correct side effect of last NSActionCell change.
Small cleanup in NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29020 72102866-910b-0410-8b05-ffd578937521
2009-11-16 11:40:14 +00:00
Fred Kiefer
8bd9424ef9 Move the validateUserIntefaceItem back to NSTextView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29019 72102866-910b-0410-8b05-ffd578937521
2009-11-16 11:17:20 +00:00
Fred Kiefer
0e3632608f Remove validateUserIntefaceItem:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29018 72102866-910b-0410-8b05-ffd578937521
2009-11-15 18:20:57 +00:00
Fred Kiefer
6c1bfef9f3 Merge changes from Doug Simons to trunk.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29017 72102866-910b-0410-8b05-ffd578937521
2009-11-15 18:04:17 +00:00
Wolfgang Lux
8c9b9aff31 Improve key view loop processing by always shifting keyboard focus to
the next and previous key view, respectively, upon receving Ctrl-Tab
and Ctrl-Shift-Tab keyboard events.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29013 72102866-910b-0410-8b05-ffd578937521
2009-11-14 22:45:23 +00:00
Wolfgang Lux
84a6777ed7 Implement menu and user interface item validation for NSTextView. The
list of validated actions is incomplete but at least includes all
items from a standard Edit menu.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29012 72102866-910b-0410-8b05-ffd578937521
2009-11-14 22:25:22 +00:00
Wolfgang Lux
036a78c32d Fix NSActionCell implementation so that -setObjectValue: and
-setStringValue: have an effect while the cell is edited.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29010 72102866-910b-0410-8b05-ffd578937521
2009-11-14 22:15:31 +00:00
Hans Baier
0a872453bc Source/GSThemeDrawing.m: fix bug introduced in last commit (progress bar fills the whole area)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29004 72102866-910b-0410-8b05-ffd578937521
2009-11-14 03:52:59 +00:00
Hans Baier
4e4a09f7de Factor out drawing of progress indicator's bezel and bar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29003 72102866-910b-0410-8b05-ffd578937521
2009-11-14 03:46:00 +00:00
Hans Baier
be3a29fd05 make the arrow image in NSMenuItemCell themeable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29001 72102866-910b-0410-8b05-ffd578937521
2009-11-14 02:56:29 +00:00
Fred Kiefer
1bb1dec3a8 Fix small bug in last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28996 72102866-910b-0410-8b05-ffd578937521
2009-11-13 07:51:58 +00:00
Richard Frith-MacDonald
68274a124a fix copy/dealloc of named images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28993 72102866-910b-0410-8b05-ffd578937521
2009-11-12 12:44:40 +00:00
Fred Kiefer
2d2de1eddf Small changes to NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28992 72102866-910b-0410-8b05-ffd578937521
2009-11-12 09:05:22 +00:00
Fred Kiefer
139258eec5 Move initialisation and drawing of progress indicator into GSTheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28987 72102866-910b-0410-8b05-ffd578937521
2009-11-09 20:15:36 +00:00
Fred Kiefer
882cecd516 Move the colour well border drawing into GSTheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28986 72102866-910b-0410-8b05-ffd578937521
2009-11-09 18:00:54 +00:00
Fred Kiefer
17ef668924 Move corner view drawing into GSTheme.
Add new 10.3 methods for NSTableHeaderCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28985 72102866-910b-0410-8b05-ffd578937521
2009-11-09 14:53:59 +00:00
Fred Kiefer
3bfc5beceb Move stepper drawing code into GSTheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28983 72102866-910b-0410-8b05-ffd578937521
2009-11-09 13:01:48 +00:00
Richard Frith-MacDonald
c0913a5c74 MTheming improvment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28979 72102866-910b-0410-8b05-ffd578937521
2009-11-09 11:33:03 +00:00
Fred Kiefer
b55e89950b Small code cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28976 72102866-910b-0410-8b05-ffd578937521
2009-11-08 19:26:49 +00:00
Fred Kiefer
2da5479a9e Small change for bug #27309 and a helper function for GSTaskBar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28974 72102866-910b-0410-8b05-ffd578937521
2009-11-08 16:12:04 +00:00
Wolfgang Lux
c7fee635d0 Implement code for exportable, i.e., write-only, document types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28962 72102866-910b-0410-8b05-ffd578937521
2009-11-05 23:14:15 +00:00
Wolfgang Lux
1e913741b4 Enable Ctrl-l keybinding and add Ctrl-o keybinding as in Emacs and Cocoa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28961 72102866-910b-0410-8b05-ffd578937521
2009-11-05 22:41:45 +00:00
Wolfgang Lux
aa3ba49fb9 Fix an issue where a window's delegate could be called during
deallocation. This also avoids unnecessary screen flicker when the
window is closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28960 72102866-910b-0410-8b05-ffd578937521
2009-11-05 22:23:52 +00:00
Wolfgang Lux
6fbd4717a5 Fix a regression in the alert sheet functions which has introduced a
variant of #26101 where only one callback was used.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28959 72102866-910b-0410-8b05-ffd578937521
2009-11-05 21:56:42 +00:00
Fred Kiefer
8802a916e6 Correct alpha_component passing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28956 72102866-910b-0410-8b05-ffd578937521
2009-11-04 21:49:48 +00:00
Fred Kiefer
16312cec5e Small changes for colour space handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28947 72102866-910b-0410-8b05-ffd578937521
2009-11-03 21:32:52 +00:00
Fred Kiefer
6d3f57e366 dd a few more includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28946 72102866-910b-0410-8b05-ffd578937521
2009-11-03 18:33:35 +00:00
Fred Kiefer
71779c5389 Add dummy implementations for NSConvertGlobalToWindowNumber and
NSConvertWindowNumberToGlobal.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28942 72102866-910b-0410-8b05-ffd578937521
2009-11-03 08:38:46 +00:00
Fred Kiefer
2cd86dee14 Only set the current event when dequeuing and never return the
null_event.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28938 72102866-910b-0410-8b05-ffd578937521
2009-11-02 12:13:59 +00:00
Fred Kiefer
eecdf96f4b Extract a few more drawing and colour methods to GSTheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28937 72102866-910b-0410-8b05-ffd578937521
2009-11-02 11:48:22 +00:00
Fred Kiefer
b5fc9e025d Switch to the new shared composite and dissolve drawing code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28933 72102866-910b-0410-8b05-ffd578937521
2009-11-01 22:43:20 +00:00
Richard Frith-MacDonald
268d76327b make last change conditional on mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28926 72102866-910b-0410-8b05-ffd578937521
2009-10-31 06:13:16 +00:00
Richard Frith-MacDonald
0400de2215 get things working on mingw again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28925 72102866-910b-0410-8b05-ffd578937521
2009-10-30 20:32:24 +00:00
Fred Kiefer
fc666eeb69 Correct flipped drawing of progress bar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28919 72102866-910b-0410-8b05-ffd578937521
2009-10-30 08:26:48 +00:00
Fred Kiefer
26ce4eb477 Fill in more code for progress bar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28906 72102866-910b-0410-8b05-ffd578937521
2009-10-28 22:54:57 +00:00
Fred Kiefer
10130ce9e9 Correct indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28901 72102866-910b-0410-8b05-ffd578937521
2009-10-28 07:47:14 +00:00
Fred Kiefer
4974760a67 Better implementation of NSProgressIndicator based on patch by Uli
Kusterer <witness.of.teachtext@gmx.net>.
-- Diese und die folgenden Zeilen werden ignoriert  --

M    Source/NSProgressIndicator.m
M    Headers/AppKit/NSProgressIndicator.h
M    ChangeLog
AM   Images/common_ProgressSpinning_4.tiff
AM   Images/common_ProgressIndeterminate_3.tiff
AM   Images/common_ProgressSpinning_8.tiff
M    Images/GNUmakefile
AM   Images/common_ProgressSpinning_1.tiff
AM   Images/common_ProgressSpinning_5.tiff
AM   Images/common_ProgressIndeterminate_4.tiff
AM   Images/common_ProgressSpinning_2.tiff
AM   Images/common_ProgressIndeterminate_1.tiff
AM   Images/common_ProgressSpinning_6.tiff
AM   Images/common_ProgressIndeterminate_5.tiff
AM   Images/common_ProgressSpinning_3.tiff
AM   Images/common_ProgressIndeterminate_2.tiff
AM   Images/common_ProgressSpinning_7.tiff
AM   Images/common_ProgressIndeterminate_6.tiff


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28900 72102866-910b-0410-8b05-ffd578937521
2009-10-27 22:21:01 +00:00
Thomas Gamper
acafc06269 TG: Add cursor position setter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28897 72102866-910b-0410-8b05-ffd578937521
2009-10-27 18:32:58 +00:00
Richard Frith-MacDonald
54fad95e5b Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28885 72102866-910b-0410-8b05-ffd578937521
2009-10-26 11:11:41 +00:00
Richard Frith-MacDonald
f43122287f Add method to return theme version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28883 72102866-910b-0410-8b05-ffd578937521
2009-10-26 09:48:08 +00:00
Fred Kiefer
903ace2b7e Correct the geometry computation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28876 72102866-910b-0410-8b05-ffd578937521
2009-10-25 12:10:59 +00:00
Fred Kiefer
054405e8f3 Add gradient methods on graphics context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28872 72102866-910b-0410-8b05-ffd578937521
2009-10-23 19:58:22 +00:00
Fred Kiefer
bf24d5d246 Add context savig/restore and first attempt at geometry maths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28871 72102866-910b-0410-8b05-ffd578937521
2009-10-23 17:23:55 +00:00
Nicolas Roard
3440beb9a6 Re-enabled extracting the images in GSDrawTiles after fixing the matrix drawing style, making the nine patch drawing method work again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28866 72102866-910b-0410-8b05-ffd578937521
2009-10-22 12:27:34 +00:00
Fred Kiefer
c5952044b7 Add basic implementation for gui part of colour gradients.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28864 72102866-910b-0410-8b05-ffd578937521
2009-10-21 07:12:12 +00:00
Wolfgang Lux
358214ef48 Improve OS X compatibility with respect to managing the document
controller's recent-documents list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28861 72102866-910b-0410-8b05-ffd578937521
2009-10-20 06:14:11 +00:00