Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@

(defn text-input
[{:keys [disabled? error? error-msg focused? id label name on-blur on-change on-focus
placeholder value value-atom default-value on-key-press]}]
placeholder value value-atom default-value on-key-press background font-color]}]
[:div {:class ["input-text"
(when error? "input-text--error")
(when disabled? "input-text--disabled")
Expand All @@ -188,6 +188,8 @@
:on-focus on-focus
:placeholder placeholder
:type "text"}
background (assoc :style {:background background})
font-color (assoc-in [:style :color] font-color)
on-change (assoc :on-change on-change)
default-value (assoc :default-value default-value)
value (assoc :value value)
Expand Down
2 changes: 2 additions & 0 deletions behave-lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ SET(SOURCE
behave-mirror/src/behave/randthread.cpp
behave-mirror/src/behave/relativeHumidity.cpp
behave-mirror/src/behave/safety.cpp
behave-mirror/src/behave/safeSeparationDistanceCalculator.cpp
behave-mirror/src/behave/slopeTool.cpp
behave-mirror/src/behave/species_master_table.cpp
behave-mirror/src/behave/spot.cpp
Expand Down Expand Up @@ -154,6 +155,7 @@ SET(HEADERS
behave-mirror/src/behave/randthread.h
behave-mirror/src/behave/relativeHumidity.h
behave-mirror/src/behave/safety.h
behave-mirror/src/behave/safeSeparationDistanceCalculator.h
behave-mirror/src/behave/slopeTool.h
behave-mirror/src/behave/species_master_table.h
behave-mirror/src/behave/spot.h
Expand Down
6 changes: 6 additions & 0 deletions behave-lib/include/cpp/emscripten/enums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,9 @@ typedef FDFMToolTimeOfDayIndex::TimeOfDayIndexEnum FDFMToolTimeOfDayIndex_TimeOf
// slopeTool.h
typedef RepresentativeFraction::RepresentativeFractionEnum RepresentativeFraction_RepresentativeFractionEnum;
typedef HorizontalDistanceIndex::HorizontalDistanceIndexEnum HorizontalDistanceIndex_HorizontalDistanceIndexEnum;

// SafeSeparationDistanceCalculator.h
typedef BurningCondition::BurningConditionEnum BurningCondition_BurningConditionEnum;
typedef SlopeClass::SlopeClassEnum SlopeClass_SlopeClassEnum;
typedef SpeedClass::SpeedClassEnum SpeedClass_SpeedClassEnum;
typedef SafetyCondition::SafetyConditionEnum SafetyCondition_SafetyConditionEnum;
Loading