Starting splitting out future plans from the TODOs again; this time: Group.
This commit is contained in:
parent
e1486f3cd1
commit
79ada1bdaa
|
@ -26,7 +26,7 @@ type controlSizing interface {
|
|||
}
|
||||
|
||||
// A container hosts a Control and resizes that Control based on changes in size to the parent Window.
|
||||
// container is used by Window, Tab, and [TODO implement] Group to contain and control their respective Controls.
|
||||
// container is used by Window and Tab to contain and control their respective Controls.
|
||||
// Tab and Group use containers for their content; as such, their commitResize() functions should only change the size of the Tab and Group themselves, and have their containers do the real work.
|
||||
// All containers must embed containerbase.
|
||||
type containerbase struct {
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
// - NSTab resizing calls both -[setFrame:] and -[setFrameSIze:] on the current tab
|
||||
// - NSTab switching tabs calls both -[setFrame:] and -[setFrameSize:] on the new tab
|
||||
// so we just override setFrameSize:
|
||||
// (TODO NSBox)
|
||||
// thanks to mikeash and JtRip in irc.freenode.net/#macdev
|
||||
@interface goContainerView : NSView {
|
||||
@public
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Group
|
||||
Mac OS X: NSBox
|
||||
container.go: add Group to the list of controls in the description of container
|
||||
container_darwin.m: figure out if our setFrameSize: thing applies to resizing the groupbox as well
|
Loading…
Reference in New Issue