mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -10,7 +10,7 @@
|
||||
#include "wpi/glass/hardware/Encoder.hpp"
|
||||
#include "wpi/glass/support/NameSetting.hpp"
|
||||
|
||||
using namespace glass;
|
||||
using namespace wpi::glass;
|
||||
|
||||
static void LabelSimDevice(const char* name, const char* simDeviceName) {
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, IM_COL32(96, 96, 96, 255));
|
||||
@@ -99,13 +99,13 @@ void DisplayDIOImpl(DIOModel* model, int index, bool outputsEnabled) {
|
||||
}
|
||||
}
|
||||
|
||||
void glass::DisplayDIO(DIOModel* model, int index, bool outputsEnabled) {
|
||||
void wpi::glass::DisplayDIO(DIOModel* model, int index, bool outputsEnabled) {
|
||||
ImGui::PushItemWidth(ImGui::GetFontSize() * 8);
|
||||
DisplayDIOImpl(model, index, outputsEnabled);
|
||||
ImGui::PopItemWidth();
|
||||
}
|
||||
|
||||
void glass::DisplayDIOs(DIOsModel* model, bool outputsEnabled,
|
||||
void wpi::glass::DisplayDIOs(DIOsModel* model, bool outputsEnabled,
|
||||
std::string_view noneMsg) {
|
||||
bool hasAny = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user