mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
Start working on a simple graphical font editor.
Editing fonts by editing text files is really slow and boring. A simple font editor seems like a good way to take LibGUI for a spin.
This commit is contained in:
parent
5e0b7f1a56
commit
6fc3c38324
18 changed files with 390 additions and 19 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
//#define SPAWN_GUITEST
|
||||
#define SPAWN_GUITEST2
|
||||
#define SPAWN_FONTEDITOR
|
||||
//#define SPAWN_MULTIPLE_SHELLS
|
||||
//#define STRESS_TEST_SPAWNING
|
||||
|
||||
|
@ -110,6 +111,9 @@ static void init_stage2()
|
|||
#ifdef SPAWN_GUITEST2
|
||||
Process::create_user_process("/bin/guitest2", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
|
||||
#endif
|
||||
#ifdef SPAWN_FONTEDITOR
|
||||
Process::create_user_process("/bin/FontEditor", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
|
||||
#endif
|
||||
#ifdef SPAWN_MULTIPLE_SHELLS
|
||||
Process::create_user_process("/bin/sh", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty1);
|
||||
Process::create_user_process("/bin/sh", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty2);
|
||||
|
|
|
@ -10,6 +10,8 @@ make -C ../Userland clean && \
|
|||
make -C ../Userland && \
|
||||
make -C ../Terminal clean && \
|
||||
make -C ../Terminal && \
|
||||
make -C ../FontEditor clean && \
|
||||
make -C ../FontEditor && \
|
||||
make clean &&\
|
||||
make && \
|
||||
sudo ./sync.sh
|
||||
|
|
8
Kernel/mkf.sh
Executable file
8
Kernel/mkf.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo id
|
||||
|
||||
make -C ../FontEditor clean && \
|
||||
make -C ../FontEditor && \
|
||||
sudo ./sync.sh
|
||||
|
|
@ -43,6 +43,8 @@ cp -v ../Userland/guitest mnt/bin/guitest
|
|||
cp -v ../Userland/guitest2 mnt/bin/guitest2
|
||||
cp -v ../Userland/sysctl mnt/bin/sysctl
|
||||
cp -v ../Terminal/Terminal mnt/bin/Terminal
|
||||
cp -v ../FontEditor/FontEditor mnt/bin/FontEditor
|
||||
ln -s FontEditor mnt/bin/ff
|
||||
cp -v ../Userland/dmesg mnt/bin/dmesg
|
||||
cp -v ../Userland/chmod mnt/bin/chmod
|
||||
sh sync-local.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue