Craig Raw
5 years ago
8 changed files with 118 additions and 1 deletions
@ -1 +1 @@ |
|||||
Subproject commit eb07a7ffa3c46cda83ac951d3b1ebd529460554c |
Subproject commit 1f7be6c7d5f1cdfda58617b212630575066e5496 |
@ -0,0 +1,30 @@ |
|||||
|
package com.sparrowwallet.sparrow.event; |
||||
|
|
||||
|
import com.sparrowwallet.drongo.wallet.BlockTransaction; |
||||
|
import com.sparrowwallet.drongo.wallet.Wallet; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
public class NewWalletTransactionsEvent { |
||||
|
private final Wallet wallet; |
||||
|
private final List<BlockTransaction> blockTransactions; |
||||
|
private final long totalValue; |
||||
|
|
||||
|
public NewWalletTransactionsEvent(Wallet wallet, List<BlockTransaction> blockTransactions, long totalValue) { |
||||
|
this.wallet = wallet; |
||||
|
this.blockTransactions = blockTransactions; |
||||
|
this.totalValue = totalValue; |
||||
|
} |
||||
|
|
||||
|
public Wallet getWallet() { |
||||
|
return wallet; |
||||
|
} |
||||
|
|
||||
|
public List<BlockTransaction> getBlockTransactions() { |
||||
|
return blockTransactions; |
||||
|
} |
||||
|
|
||||
|
public long getTotalValue() { |
||||
|
return totalValue; |
||||
|
} |
||||
|
} |
@ -0,0 +1,29 @@ |
|||||
|
|
||||
|
.notification-bar > .pane { |
||||
|
-fx-padding: 0 7 7 7; |
||||
|
} |
||||
|
|
||||
|
.notification-bar > .close-button { |
||||
|
-fx-min-height: 27; |
||||
|
-fx-padding: 10 0 0 0; |
||||
|
-fx-translate-y: 10; |
||||
|
} |
||||
|
|
||||
|
.notification-bar > .pane .label.title { |
||||
|
-fx-font-size: 15px; |
||||
|
-fx-text-fill: #292929; |
||||
|
-fx-padding: 5 0 0 68; |
||||
|
-fx-translate-y: 10; |
||||
|
} |
||||
|
|
||||
|
.notification-bar > .pane .label { |
||||
|
-fx-font-size: 1em; |
||||
|
-fx-text-fill: #292929; |
||||
|
-fx-alignment: top-left; |
||||
|
-fx-padding: 0 0 0 10; |
||||
|
-fx-graphic-text-gap: 8; |
||||
|
} |
||||
|
|
||||
|
.notification-bar > .pane .label .text { |
||||
|
-fx-translate-y: 12; |
||||
|
} |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 41 KiB |
Loading…
Reference in new issue