diff --git a/src/Title.tsx b/src/Title.tsx index 9455cff..b773199 100644 --- a/src/Title.tsx +++ b/src/Title.tsx @@ -1,8 +1,12 @@ import "./Title.css"; import { appWindow } from "@tauri-apps/api/window"; +import Close from "./assets/titlebar/Close.png" +import Maximize from "./assets/titlebar/Maximize.png" +import Minimize from "./assets/titlebar/Minimize.png" function Title() { + // Window Functions abstracted to their own functions because calling them inline onClick made them unresponsive. const minimizeWindow = () => { appWindow.minimize() } @@ -19,20 +23,20 @@ function Title() {
minimize
maximize
- close + close
diff --git a/src/assets/react.svg b/src/assets/react.svg deleted file mode 100644 index 6c87de9..0000000 --- a/src/assets/react.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/titlebar/Close.png b/src/assets/titlebar/Close.png new file mode 100644 index 0000000..5180093 Binary files /dev/null and b/src/assets/titlebar/Close.png differ diff --git a/src/assets/titlebar/Maximize.png b/src/assets/titlebar/Maximize.png new file mode 100644 index 0000000..e3cc2b9 Binary files /dev/null and b/src/assets/titlebar/Maximize.png differ diff --git a/src/assets/titlebar/Minimize.png b/src/assets/titlebar/Minimize.png new file mode 100644 index 0000000..10be9a8 Binary files /dev/null and b/src/assets/titlebar/Minimize.png differ