aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2020-12-22 19:36:37 +0530
committerPriyansh <[email protected]>2020-12-22 19:36:37 +0530
commit80c555f74546b65f2c92716beb908848252f4128 (patch)
tree68998894019eb525124b6f8997afb15c118ef88a
parente6c2397d0be390f167a47b34897a5799a91e2328 (diff)
downloadstyx-80c555f74546b65f2c92716beb908848252f4128.tar.xz
styx-80c555f74546b65f2c92716beb908848252f4128.zip
Start: titlebar
-rw-r--r--.DS_Storebin0 -> 6148 bytes
-rw-r--r--app.html7
-rw-r--r--src/windowCreator.ts3
3 files changed, 8 insertions, 2 deletions
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..e6f6765
--- /dev/null
+++ b/.DS_Store
Binary files differ
diff --git a/app.html b/app.html
index 14b8dcb..5133fc3 100644
--- a/app.html
+++ b/app.html
@@ -7,7 +7,12 @@
<link rel="stylesheet" href="css/main.css">
</head>
<body>
- Styx File Manager
+ <div class="topNavigationBar">
+ <h1 class="titlebar" id="title">Styx File Manager</h1>
+ <div class="actionButtons">
+ <button class="btn newFolder" title="New Folder"></button>
+ </div>
+ </div>
<script src="./ts_compiled/renderer.js"></script>
</body>
</html> \ No newline at end of file
diff --git a/src/windowCreator.ts b/src/windowCreator.ts
index 6417e3a..1eaeea7 100644
--- a/src/windowCreator.ts
+++ b/src/windowCreator.ts
@@ -24,7 +24,8 @@ export default class windowCreator {
preload: path.join(__dirname, 'preload.js'),
nodeIntegration: true
},
- titleBarStyle: 'hiddenInset'
+ titleBarStyle: 'hiddenInset',
+ frame: false
});
windowCreator.mainWindow
.loadURL('file://' + __dirname + '/../app.html');