-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from MDalfre/develop
New release
- Loading branch information
Showing
12 changed files
with
306 additions
and
72 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,37 @@ | ||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. | ||
// Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. | ||
import androidx.compose.desktop.Window | ||
import androidx.compose.foundation.background | ||
import androidx.compose.foundation.layout.Column | ||
import androidx.compose.foundation.layout.Row | ||
import androidx.compose.material.MaterialTheme | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.unit.IntSize | ||
import commons.backgroundBlue | ||
import components.mainView | ||
import components.topBar | ||
import service.ConnectionService | ||
import service.LogService | ||
|
||
const val DEFAULT_WIDTH = 1280 | ||
const val DEFAULT_HEIGHT = 790 | ||
val logService: LogService = LogService() | ||
var connectionService: ConnectionService? = null | ||
|
||
fun main() = Window( | ||
title = "SR SQS", | ||
size = IntSize(DEFAULT_WIDTH, DEFAULT_HEIGHT), | ||
resizable = false | ||
) { | ||
MaterialTheme { | ||
Row { | ||
|
||
Row( | ||
Modifier.background(backgroundBlue) | ||
) { | ||
mainView(logService) | ||
} | ||
Column { | ||
topBar(logService) | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package commons | ||
|
||
import androidx.compose.ui.graphics.Color | ||
|
||
val backgroundBlue = Color(0xFF0d2a3b) | ||
val lightBlue = Color(0xFF5f98ba) | ||
val orange = Color(0xFFD7840E) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.