Set window title. Once I understood what a Pascal String was, it was easy.
This commit is contained in:
parent
44ea626ee7
commit
aa0a8ffa48
|
@ -179,7 +179,10 @@ void InitToolbox(void) {
|
||||||
*/
|
*/
|
||||||
void InitWindow(void) {
|
void InitWindow(void) {
|
||||||
WindowPtr theWindow;
|
WindowPtr theWindow;
|
||||||
|
|
||||||
theWindow = GetNewWindow(kMainWindowId, nil, (WindowPtr)-1L);
|
theWindow = GetNewWindow(kMainWindowId, nil, (WindowPtr)-1L);
|
||||||
|
SetWTitle(theWindow, "\pMacBoilerPlate");
|
||||||
|
|
||||||
SetPort(theWindow);
|
SetPort(theWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
BIN
MacBoilerplate.µ
BIN
MacBoilerplate.µ
Binary file not shown.
Loading…
Reference in New Issue