1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Ben Harris
8cf125c96e Use CountMenuItems() rather than CountMItems() since the latter isn't
available in Carbon.

[originally from svn r2996]
2003-03-25 23:23:03 +00:00
Ben Harris
fe590b2f51 Add support for editbox controls on Mac OS 8, and for per-control private data.
[originally from svn r2995]
2003-03-25 23:18:59 +00:00
Ben Harris
093c88d28a Clean out some #ifdef'ed out junk.
[originally from svn r2985]
2003-03-24 22:46:11 +00:00
Ben Harris
c20818608e Initialise the "next menu ID" counter for pop-up menus. This stops crashes
on Mac OS 8.
Also re-do support for activate events so as not to depend on embedding
hierarchies, and thus to work on System 7.

[originally from svn r2984]
2003-03-24 22:41:38 +00:00
Ben Harris
6991e3ae7d Slightly improve radio button layout to more closely match the Mac OS 8 HI
Guidelines.

[originally from svn r2983]
2003-03-24 21:55:51 +00:00
Ben Harris
335cf4c708 Add support for pop-up menus (drop-down lists in Windows parlance).
For some reason, these explode horribly with the Appearance Manager present,
but work fine in bare System 7.  Investigations are ongoing.

[originally from svn r2980]
2003-03-23 14:11:39 +00:00
Ben Harris
174b839586 Add crude support for multiple panels in the config dialogue box. There's
no way to switch between panels yet, though, so you're stuck on the first one.

[originally from svn r2971]
2003-03-21 00:24:17 +00:00
Ben Harris
ba8c8fec9c Pass a pointer to the entire dialog box structure to event handlers, rather
than just the individual control pointer, because otherwise event handlers
can't modify other controls.

[originally from svn r2970]
2003-03-20 23:15:25 +00:00
Ben Harris
6d95dc84b4 Add support for drawing a ring around the default button in System 7.
[originally from svn r2967]
2003-03-19 00:40:15 +00:00
Ben Harris
ea3dd210de Add support for changing the contents of a pre-Appearance static text control.
[originally from svn r2966]
2003-03-18 23:47:33 +00:00
Ben Harris
471e004558 Tag the "Cancel" button appropriately, in case anyone's using a theme that
pays attention to it.

[originally from svn r2965]
2003-03-18 23:41:14 +00:00
Simon Tatham
4d41247cde Big sprawling dialog-box commit covering all sorts of things.
Buttons now have an `iscancel' flag to go with `isdefault';
dlg_last_focused() now explicitly passes the control it _doesn't_
care about (`I want the last control that had focus and isn't this
one'); and in the GTK implementation, various fixes have happened,
notably including arrow keys working sensibly in list boxes and the
treeview and short font aliases being expanded correctly to
initialise the font selectors.

[originally from svn r2958]
2003-03-18 19:06:51 +00:00
Ben Harris
893ca6173a My First CDEF: A terribly trivial static text control for System 7.
Needs work.

[originally from svn r2955]
2003-03-18 00:35:40 +00:00
Ben Harris
53b61424bc Partial implementation of the platform-independent dialogue-box interface
for the Mac OS.  This isn't anywhere near complete, and is wrong in a few
important regards, but I think it's heading in the right direction.

[originally from svn r2953]
2003-03-17 21:40:37 +00:00