From a93a1e4f8ac1f1257aef9acbd4c922497914c31d Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 21 Jun 1999 04:38:35 +0000 Subject: [PATCH] Fixes. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4445 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 1 + Headers/gnustep/gui/NSPopUpButton.h | 1 + Images/GNUmakefile | 1 + Images/common_3DArrowDown.tiff | Bin 0 -> 422 bytes Source/NSPopUpButton.m | 16 +++++++++++++++- Source/NSPopUpButtonCell.m | 5 ++++- 6 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 Images/common_3DArrowDown.tiff diff --git a/ChangeLog b/ChangeLog index b2444a2dc..efac29c36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ common_TabUnSelectedJunction.tiff common_TabUnSelectedLeft.tiff common_TabUnSelectedRight.tiff: all tiffs needed to draw NSTabs. + * Images/common_3DArrowDown.tiff: for NSPopUp in pulldown mode. * Source/NSTabView.m: lots of work on drawing. Should draw correct in almost all cases. However, without event code I can't test it yet. diff --git a/Headers/gnustep/gui/NSPopUpButton.h b/Headers/gnustep/gui/NSPopUpButton.h index 5be47ef66..64617e638 100644 --- a/Headers/gnustep/gui/NSPopUpButton.h +++ b/Headers/gnustep/gui/NSPopUpButton.h @@ -43,6 +43,7 @@ @interface NSPopUpButtonMatrix : NSMenuMatrix { + BOOL pull_down; int selected_cell; NSPopUpButton *popup_button; } diff --git a/Images/GNUmakefile b/Images/GNUmakefile index eb64876a3..ca3dda1c1 100644 --- a/Images/GNUmakefile +++ b/Images/GNUmakefile @@ -33,6 +33,7 @@ imagedir = $(GNUSTEP_RESOURCES)/Images IMAGE_FILES = \ GNUstep_Images_Copyright \ +common_3DArrowDown.tiff \ common_ArrowDown.tiff \ common_ArrowUp.tiff \ common_ArrowRight.tiff \ diff --git a/Images/common_3DArrowDown.tiff b/Images/common_3DArrowDown.tiff new file mode 100644 index 0000000000000000000000000000000000000000..291c3b35ddac393ef607faaa8446a9a852e3d367 GIT binary patch literal 422 zcmebD)MD^qU|?WmVEH7kk+I={V$)ClxAF-V4T{Q43#3#%E*K;pcJFbzy8qP=!A0$y z^9@|)RB$RC^O$6_@70otLGAvtje2 zP;piupAE`p0&etK!9zGrS?dTKF{pPQSX7jNw1SX7i>?vh`gr&p4h kmd4;*l$uzQnxasiS(2d;l98(5?&%u