summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXButton.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-working of internal Cocoa widget drawing routines, especially when ↵Kevin Walzer2015-04-091-9/+12
| | | | resizing; fix rendering of scrollbar when resized or clipped; cleanup of button metrics; thanks to Marc Culler for extensive patches
* Backing out changes; unexpected issues with window resizing that require ↵Kevin Walzer2015-04-071-13/+9
| | | | further investigation
* Further cleanup of scrolling, drawing, resize in Cocoa; thanks to Marc ↵Kevin Walzer2015-04-071-9/+12
| | | | Culler for patches
* Fix for 5824a992df, images not displaying in Cocoa in label with sunken reliefKevin Walzer2015-02-281-7/+0
|
* Malformed comment.dgp2015-02-201-1/+0
|
* Fix build problem on OSXjan.nijtmans2015-02-191-1/+1
|
* Cleanup of bounds in button code.Kevin Walzer2015-02-161-6/+0
|
* Major fix for HITheme button metrics; thanks to Marc Culler for patch.Kevin Walzer2015-02-161-273/+201
|
* Final adjustment of checkbutton flags in CocoaKevin Walzer2015-02-131-2/+2
|
* Apply same padding fix to Cocoa checkbuttonsKevin Walzer2015-02-121-3/+12
|
* Limit hard-coded padding in Cocoa buttons to radiobuttons indicatorOnKevin Walzer2015-02-121-6/+13
|
* Cleaner implementation of metrics for radiobuttons and checkbuttons under ↵Kevin Walzer2015-02-121-22/+25
| | | | Cocoa; still a bit of extra padding required, but only when absolutely necessary
* Silence some compiler warningsdgp2015-02-121-3/+0
|
* Further refinement of button metrics in CocoaKevin Walzer2015-02-121-1/+1
|
* Further refinement of button metrics in CocoaKevin Walzer2015-02-121-1/+1
|
* Further refinement of checkbutton metrics in CocoaKevin Walzer2015-02-121-1/+1
|
* Adjust metrics in buttons to remove extraneous padding in Cocoa checkbuttons ↵Kevin Walzer2015-02-111-1/+1
| | | | with images
* Fix conflicting types in tkMacOSXButton.cKevin Walzer2015-01-271-1/+1
|
* Commiting HITheme implementation obuttons; deferring scrolling for now ↵Kevin Walzer2015-01-241-1039/+1005
| | | | because no adequate solution, even using themed scrolling via ttk, exists
* Refinement of redraw during window resizing in Cocoa; refinement of button ↵Kevin Walzer2014-12-281-2/+2
| | | | display
* Add method to tkMacOSXButton.cKevin Walzer2014-12-241-1/+1
|
* [9d72dcd3bc] Plug memleakdgp2014-11-061-1/+1
|
* Fix display of buttons on Cocoa if horizontally scrolled outside parent widgetKevin Walzer2014-10-181-1/+2
|
* Fine-tune display of buttons on Tk/Cocoa on horizontal scrollKevin Walzer2014-09-231-0/+7
|
* Stop segfaults on Mac OSX after [$button destroy].core_8_5_16dgp2014-08-271-0/+1
|\
| * Fix from kevin_walzer for buttons in cocoahypnotoad2014-08-271-7/+1
| |
| * An improvement on beforehypnotoad2014-08-271-1/+2
| |
| * dgp's constant comparison fixhypnotoad2014-08-271-0/+3
| |
| * Fix for segfaults induced by the following script:hypnotoad2014-08-271-0/+3
| | | | | | | | | | | | | | | | button .b pack .b update destroy .b button .c update
| * Fix for shimmering of buttons embedded when scrolled in text and canvas ↵Kevin Walzer2014-08-161-19/+144
| | | | | | | | widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
| * Fix for serious bugs with input methods, and for display of certain fonts in ↵Kevin Walzer2012-01-291-0/+9
| | | | | | | | buttons; thanks to Adrian Robert for extensive patches
| * Purge RCS Keywordsdgp2011-06-081-2/+0
| |\
| * | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-1/+1
| | | | | | | | | using useful casts internally.
| * | Put all Tk_OptionSpec for buttons and labelsnijtmans2010-02-181-19/+8
| | | | | | | | | | | | | | | | | | in const memory. With some changes to win32 and macosx, preventing direct writes to read-only memory.
| * | Eliminate tkpMenubuttonClassnijtmans2010-01-131-2/+4
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
| * | More marking of files as Objective-C.dkf2009-07-061-2/+2
| | |
| * | Merge of TkAqua Cocoa portmacosx_cocoa_mergedas2009-06-291-1325/+885
| | |
| * | TkpDisplayButton: use computed borderWidthdas2008-12-071-2/+2
| | |
* | | Fix for shimmering of buttons embedded when scrolled in text and canvas ↵Kevin Walzer2014-08-161-19/+145
| | | | | | | | | | | | widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
* | | Fix for 3016181, thanks to Tom Goddard for patchKevin Walzer2013-08-251-2/+2
| | |
* | | Backport of ::tk::mac::useCompatibilityMetrics handling and scrollbar ↵jan.nijtmans2012-10-231-28/+16
| | | | | | | | | | | | metrics handling from trunk
* | | Review branch for merge of Tk-Cocoa into Tk 8.5 main branchKevin Walzer2012-09-121-1322/+894
| |/ |/|
* | Purge RCS Keywords.dgp2011-06-081-2/+0
|\ \
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| * | TkpDisplayButton: use computed borderWidthdas2008-12-071-2/+2
| | |
| * | Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-2/+2
| | |
| * | Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-67/+114
| | |
| * | * macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issuesdas2007-06-291-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that could lead to Carbon getting confused about scrollbar thumb size. * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) use TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors. (TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): add save and restore of QD port clip region; factor out clip region code common to CG and QD branches; check for port and context validity; handle tkPictureIsOpen flag during QD port setup. (TkScrollWindow): remove unnecessary scroll region manipulation * macosx/tkMacOSXDraw.c: remove second global QD temp region * macosx/tkMacOSXInt.h: (no longer necessary) and rename * macosx/tkMacOSXRegion.c: remaining global QD temp region. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXDraw.c: make useCGDrawing variable MODULE_SCOPE * macosx/tkMacOSXFont.c: and sync formatting with HEAD. * macosx/tkMacOSXButton.c: reduce reliance on current QD port * macosx/tkMacOSXColor.c: setting and remove unnecessary * macosx/tkMacOSXDebug.c: references to a drawable's QD port, * macosx/tkMacOSXDebug.h: notably replace GetWindowFromPort( * macosx/tkMacOSXDialog.c: TkMacOSXGetDrawablePort()) idiom by new * macosx/tkMacOSXDraw.c: TkMacOSXDrawableWindow() and change * macosx/tkMacOSXKeyEvent.c: TkMacOSXSetColorInPort() to take a port * macosx/tkMacOSXMenu.c: argument. * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: factor out macros, declarations * macosx/tkMacOSXPrivate.h (new): and prototypes that are purely internal and private to the 'macosx' sources into a new internal header file that does _not_ get installed into Tk.framework/PrivateHeaders. * macosx/tkMacOSXButton.c: #include new tkMacOSXPrivate.h * macosx/tkMacOSXCarbonEvents.c: instead of tkMacOSXInt.h. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c:
| * | * macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): complete alldas2007-05-311-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pending idle-time redraws before newly posted Expose events are processed; add bounds of redrawn windows to update region to ensure all child windows overdrawn by parents are redrawn. * macosx/tkMacOSXWindowEvent.c: centralize clip and window invalidation * macosx/tkMacOSXSubwindows.c: after location/size changes in the * macosx/tkMacOSXWm.c: BoundsChanged carbon event handler; correct/add window invalidation after window attribute changes. * macosx/tkMacOSXSubwindows.c (XResizeWindow, XMoveResizeWindow, XMoveWindow): factor out common code dealing with embedded and non-toplevel windows; remove unnecessary clip and window invalidation. * macosx/tkMacOSXButton.c (TkpDisplayButton): move clip setup closer to native button drawing calls. * macosx/tkMacOSXWm.c (TkMacOSXIsWindowZoomed, TkMacOSXZoomToplevel): correct handle gridded windows in max size calculations. * macosx/tkMacOSXEvent.c (TkMacOSXFlushWindows): use HIWindowFlush API when available. * macosx/tkMacOSXColor.c: cleanup whitespace and formatting. * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c:
| * | * macosx/tkMacOSXWindowEvent.c: ensure window is brought to the frontdas2007-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXMouseEvent.c: at the start of a window drag (except * macosx/tkMacOSXInt.h: when cmd key is down); formatting and whitespace fixes. * macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd): add -filetypes option processing. * macosx/tkMacOSXEmbed.c (TkpMakeWindow, TkpUseWindow): fix sending of Visibility event for embedded windows (fixes frame-3.9 hang). * macosx/tkMacOSXScrlbr.c (ScrollbarBindProc): fix testsuite * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): crashes by adding sanity checks. * macosx/tkMacOSXButton.c: fix debug msg typo.