Skip to content

Commit

Permalink
minor ui updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon committed May 2, 2024
1 parent c6d7545 commit fdee1b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,13 @@ public void toggleLiveMode() {
// Note: doesn't seem to work for all cameras
@Subscribe
public void liveModeListener(LiveModeEvent event) {
if (!studio_.live().isLiveModeOn()) {
}
//System.out.println("LIVE MODE!");
// if (!studio_.live().isLiveModeOn()) {
// }
}

@Subscribe
public void onExposureChanged(ExposureChangedEvent event) {
System.out.println("Exposure changed!");
// System.out.println("Exposure changed!");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private void createUserInterface() {

table_ = new ChannelTable(model_);

Button.setDefaultSize(72, 24);
Button.setDefaultSize(74, 24);
btnAddChannel_ = new Button("Add");
btnRemoveChannel_ = new Button("Remove");
btnRefresh_ = new Button("Refresh");
Expand All @@ -51,10 +51,12 @@ private void createUserInterface() {

final String[] groupLabels = table_.getAvailableGroups();
cmbChannelGroup_ = new ComboBox(groupLabels,
model_.acquisitions().settings().channelGroup());
model_.acquisitions().settings().channelGroup(),
120, 22);

cmbChannelMode_ = new ComboBox(MultiChannelMode.toArray(),
model_.acquisitions().settings().channelMode().toString());
model_.acquisitions().settings().channelMode().toString(),
120, 22);

add(lblChannelGroup_, "split 2");
add(cmbChannelGroup_, "wrap");
Expand Down

0 comments on commit fdee1b7

Please sign in to comment.