mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:25:07 +00:00
Add a little About app and hook it up to the system menu's "About..." entry.
Added icons and customizable text alignment to GLabel.
This commit is contained in:
parent
d6326d6c2e
commit
d74b131c27
11 changed files with 118 additions and 2 deletions
|
@ -198,6 +198,11 @@ WSWindowManager::WSWindowManager()
|
|||
Process::create_user_process("/bin/Terminal", 100, 100, current->pid(), error);
|
||||
return;
|
||||
}
|
||||
if (item.identifier() == 4) {
|
||||
int error;
|
||||
Process::create_user_process("/bin/About", 100, 100, current->pid(), error);
|
||||
return;
|
||||
}
|
||||
kprintf("WSMenu 1 item activated: '%s'\n", item.text().characters());
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue