GameMenuScene::GameMenuScene(Stage* stage, QGraphicsItem* parent) : Scene(mapSceneName(sceneGameMenu), stage, parent) { setBackground("gm_background"); LinearLayout* leftLayout = new LinearLayout(Qt::Vertical); Actor* gameTitle = new Actor("ge_game_title", this); gameTitle->setPaddings(0.1); leftLayout->addItem(gameTitle, 0.2); LinearLayout* centralLayout = new LinearLayout(Qt::Horizontal); leftLayout->addLayout(centralLayout, 0.8); Actor* robot = new Actor("ge_robot", this); robot->setPaddings(0.2); centralLayout->addItem(robot, 0.5); robot->alignCenter(); centralLayout->addStretch(0.5); LinearLayout* rightLayout = new LinearLayout(Qt::Vertical); setupButtons(rightLayout); LinearLayout* globalLayout = new LinearLayout(Qt::Horizontal); globalLayout->addLayout(leftLayout, 0.7); globalLayout->addLayout(rightLayout, 0.3); setLayout(globalLayout); // This is the last scene loaded QSettings settings; settings.setValue( sk("Application/LastScene"), sceneName ); }
GameOverLayer::GameOverLayer(int score){ CCLayer::init(); this->setTouchEnabled(true); setupBackground(); setupScore(score); setupButtons(); }
PlayerControls::PlayerControls(QMenu *appMenu, QWidget *parent) : QWidget(parent) { m_iShuffleMode = 1; m_iRepeatMode = 1; m_currentTrack = 0; m_mainLayout = new QGridLayout(this); m_localsMenu = new QMenu(tr("Add to list")); connect(PlistsGroup::instance(), SIGNAL(localsChanged(QStringList)), SLOT(onLocalsChanged(QStringList))); PlistsGroup::instance()->updateLocalLists(); setupCover(); setupTrackbar(); setupSliders(); setupButtons(appMenu); layout()->setMargin(0); connect(Settings::instance(), SIGNAL(changed()), SLOT(settingsUpdated())); }
void main (void) { //Set Clock Frequency = 500kHz OSCCONbits.IRCF2 = 0; OSCCONbits.IRCF2 = 1; OSCCONbits.IRCF2 = 1; // Enable Global interrupts INTCONbits.GIE = 1; // Enable High priority interrupt //Setup IR Sensor setupIRSensor(); //Initializes the timer2 for PWM for Motor and Servo setTimer2PWM(); //Setup Motor setupMotor(); //Setup Timer for servo startTimer0(); //Setup Timer for timed water startTimer1(); //SetupButtonInterupt setupButtons(); while (1) { // This area loops forever } }
void FileTransferWidget::onFileTransferFinished(ToxFile file) { if (fileInfo != file) return; fileInfo = file; setBackgroundColor(Style::getColor(Style::Green), true); setupButtons(); hideWidgets(); ui->topButton->setIcon(QIcon(":/ui/fileTransferInstance/yes.svg")); ui->topButton->setObjectName("ok"); ui->topButton->setToolTip(tr("Open file")); ui->topButton->show(); ui->bottomButton->setIcon(QIcon(":/ui/fileTransferInstance/dir.svg")); ui->bottomButton->setObjectName("dir"); ui->bottomButton->setToolTip(tr("Open file directory")); ui->bottomButton->show(); // preview if (fileInfo.direction == ToxFile::RECEIVING) showPreview(fileInfo.filePath); disconnect(Core::getInstance(), 0, this, 0); }
QgsArcGisServiceSourceSelect::QgsArcGisServiceSourceSelect( const QString &serviceName, ServiceType serviceType, QWidget *parent, Qt::WindowFlags fl, QgsProviderRegistry::WidgetMode widgetMode ) : QgsAbstractDataSourceWidget( parent, fl, widgetMode ) , mServiceName( serviceName ) , mServiceType( serviceType ) { setupUi( this ); connect( cmbConnections, static_cast<void ( QComboBox::* )( int )>( &QComboBox::activated ), this, &QgsArcGisServiceSourceSelect::cmbConnections_activated ); setupButtons( buttonBox ); connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsArcGisServiceSourceSelect::showHelp ); setWindowTitle( QStringLiteral( "Add %1 Layer from a Server" ).arg( mServiceName ) ); if ( mServiceType == FeatureService ) { mBuildQueryButton = buttonBox->addButton( tr( "&Build query" ), QDialogButtonBox::ActionRole ); mBuildQueryButton->setDisabled( true ); connect( mBuildQueryButton, &QAbstractButton::clicked, this, &QgsArcGisServiceSourceSelect::buildQueryButtonClicked ); } connect( buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject ); connect( btnNew, &QAbstractButton::clicked, this, &QgsArcGisServiceSourceSelect::addEntryToServerList ); connect( btnEdit, &QAbstractButton::clicked, this, &QgsArcGisServiceSourceSelect::modifyEntryOfServerList ); connect( btnDelete, &QAbstractButton::clicked, this, &QgsArcGisServiceSourceSelect::deleteEntryOfServerList ); connect( btnConnect, &QAbstractButton::clicked, this, &QgsArcGisServiceSourceSelect::connectToServer ); connect( btnChangeSpatialRefSys, &QAbstractButton::clicked, this, &QgsArcGisServiceSourceSelect::changeCrs ); connect( lineFilter, &QLineEdit::textChanged, this, &QgsArcGisServiceSourceSelect::filterChanged ); populateConnectionList(); mProjectionSelector = new QgsProjectionSelectionDialog( this ); mProjectionSelector->setMessage( QString() ); treeView->setItemDelegate( new QgsAbstractDataSourceWidgetItemDelegate( treeView ) ); QgsSettings settings; restoreGeometry( settings.value( QStringLiteral( "Windows/SourceSelectDialog/geometry" ) ).toByteArray() ); cbxUseTitleLayerName->setChecked( settings.value( QStringLiteral( "Windows/SourceSelectDialog/UseTitleLayerName" ), false ).toBool() ); mModel = new QStandardItemModel(); mModel->setHorizontalHeaderItem( 0, new QStandardItem( QStringLiteral( "Title" ) ) ); mModel->setHorizontalHeaderItem( 1, new QStandardItem( QStringLiteral( "Name" ) ) ); mModel->setHorizontalHeaderItem( 2, new QStandardItem( QStringLiteral( "Abstract" ) ) ); if ( serviceType == FeatureService ) { mModel->setHorizontalHeaderItem( 3, new QStandardItem( QStringLiteral( "Cache Feature" ) ) ); mModel->setHorizontalHeaderItem( 4, new QStandardItem( QStringLiteral( "Filter" ) ) ); gbImageEncoding->hide(); } else { cbxFeatureCurrentViewExtent->hide(); mImageEncodingGroup = new QButtonGroup( this ); } mModelProxy = new QSortFilterProxyModel( this ); mModelProxy->setSourceModel( mModel ); mModelProxy->setSortCaseSensitivity( Qt::CaseInsensitive ); treeView->setModel( mModelProxy ); connect( treeView, &QAbstractItemView::doubleClicked, this, &QgsArcGisServiceSourceSelect::treeWidgetItemDoubleClicked ); connect( treeView->selectionModel(), &QItemSelectionModel::currentRowChanged, this, &QgsArcGisServiceSourceSelect::treeWidgetCurrentRowChanged ); }
QgsWFSSourceSelect::QgsWFSSourceSelect( QWidget *parent, Qt::WindowFlags fl, QgsProviderRegistry::WidgetMode theWidgetMode ) : QgsAbstractDataSourceWidget( parent, fl, theWidgetMode ) { setupUi( this ); connect( cmbConnections, static_cast<void ( QComboBox::* )( int )>( &QComboBox::activated ), this, &QgsWFSSourceSelect::cmbConnections_activated ); connect( btnSave, &QPushButton::clicked, this, &QgsWFSSourceSelect::btnSave_clicked ); connect( btnLoad, &QPushButton::clicked, this, &QgsWFSSourceSelect::btnLoad_clicked ); setupButtons( buttonBox ); connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsWFSSourceSelect::showHelp ); if ( widgetMode() != QgsProviderRegistry::WidgetMode::None ) { mHoldDialogOpen->hide(); } mBuildQueryButton = new QPushButton( tr( "&Build query" ) ); mBuildQueryButton->setToolTip( tr( "Build query" ) ); mBuildQueryButton->setDisabled( true ); buttonBox->addButton( mBuildQueryButton, QDialogButtonBox::ActionRole ); connect( mBuildQueryButton, &QAbstractButton::clicked, this, &QgsWFSSourceSelect::buildQueryButtonClicked ); connect( buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject ); connect( btnNew, &QAbstractButton::clicked, this, &QgsWFSSourceSelect::addEntryToServerList ); connect( btnEdit, &QAbstractButton::clicked, this, &QgsWFSSourceSelect::modifyEntryOfServerList ); connect( btnDelete, &QAbstractButton::clicked, this, &QgsWFSSourceSelect::deleteEntryOfServerList ); connect( btnConnect, &QAbstractButton::clicked, this, &QgsWFSSourceSelect::connectToServer ); connect( btnChangeSpatialRefSys, &QAbstractButton::clicked, this, &QgsWFSSourceSelect::changeCRS ); connect( lineFilter, &QLineEdit::textChanged, this, &QgsWFSSourceSelect::filterChanged ); populateConnectionList(); mProjectionSelector = new QgsProjectionSelectionDialog( this ); mProjectionSelector->setMessage( QString() ); mItemDelegate = new QgsWFSItemDelegate( treeView ); treeView->setItemDelegate( mItemDelegate ); QgsSettings settings; QgsDebugMsg( QStringLiteral( "restoring settings" ) ); restoreGeometry( settings.value( QStringLiteral( "Windows/WFSSourceSelect/geometry" ) ).toByteArray() ); cbxUseTitleLayerName->setChecked( settings.value( QStringLiteral( "Windows/WFSSourceSelect/UseTitleLayerName" ), false ).toBool() ); cbxFeatureCurrentViewExtent->setChecked( settings.value( QStringLiteral( "Windows/WFSSourceSelect/FeatureCurrentViewExtent" ), true ).toBool() ); mHoldDialogOpen->setChecked( settings.value( QStringLiteral( "Windows/WFSSourceSelect/HoldDialogOpen" ), false ).toBool() ); mModel = new QStandardItemModel(); mModel->setHorizontalHeaderItem( MODEL_IDX_TITLE, new QStandardItem( QStringLiteral( "Title" ) ) ); mModel->setHorizontalHeaderItem( MODEL_IDX_NAME, new QStandardItem( QStringLiteral( "Name" ) ) ); mModel->setHorizontalHeaderItem( MODEL_IDX_ABSTRACT, new QStandardItem( QStringLiteral( "Abstract" ) ) ); mModel->setHorizontalHeaderItem( MODEL_IDX_SQL, new QStandardItem( QStringLiteral( "Sql" ) ) ); mModelProxy = new QSortFilterProxyModel( this ); mModelProxy->setSourceModel( mModel ); mModelProxy->setSortCaseSensitivity( Qt::CaseInsensitive ); treeView->setModel( mModelProxy ); connect( treeView, &QAbstractItemView::doubleClicked, this, &QgsWFSSourceSelect::treeWidgetItemDoubleClicked ); connect( treeView->selectionModel(), &QItemSelectionModel::currentRowChanged, this, &QgsWFSSourceSelect::treeWidgetCurrentRowChanged ); }
void ImageViewerScreen::createUI() { setupMainLayout(); setupImageView(); setupButtons(); setupActivityIndicator(); arrangeWidgets(); }
void CameraScreen::createUI() { setupMainLayout(); setupCamera(); setupButtons(); setupActivityIndicator(); arrangeWidgets(); }
TabDialog::TabDialog(int buttons, QWidget *parent, bool modal) : QDialog(parent) { QVBoxLayout *mainLayout = new QVBoxLayout; setLayout(mainLayout); m_tabWidget = new TTabWidget(this); mainLayout->addWidget(m_tabWidget); setupButtons(buttons); setModal(modal); }
ADModuleButtonBar::ADModuleButtonBar(int buttons, QWidget *parent) : QFrame( parent ) { setupButtons( buttons ); setFrameStyle( QFrame::Box | QFrame::Raised ); connect(&m_buttons, SIGNAL(buttonClicked ( QAbstractButton *)), this, SIGNAL(buttonClicked ( QAbstractButton *))); connect(&m_buttons, SIGNAL(buttonClicked (int)), this, SIGNAL(buttonClicked (int))); }
static int goToGame(lua_State* L) { delete state; state = new Game(); if (luaL_loadfile(buttonState, "gameButt.txt") || lua_pcall(buttonState, 0, 0, 0)) throw; setupButtons(); return 0; }
static int goToEditor(lua_State* L) { delete state; state = new Editor(); if (luaL_loadfile(buttonState, "editorButtons.txt") || lua_pcall(buttonState, 0, 0, 0)) throw; setupButtons(); return 0; }
FindPair::FindPair(QWidget *parent) : QWidget(parent), gSize(2), buttons(QVector<QPushButton*>(2 * 2)) { indexOfPrev = -1; ui->setupUi(this); initAr(); setupButtons(); }
static int goToMenu(lua_State* L) { ((Editor*)state)->saveMap(); delete state; state = new Menu(); if (luaL_loadfile(buttonState, "menuButtons.txt") || lua_pcall(buttonState, 0, 0, 0)) throw; setupButtons(); return 0; }
//moves to a defined panel void gotoPanel(byte pPanelId){ fill(0); background(0,0,0);// set the screen black mCurrentPanel = pPanelId; setupButtons(); drawAllButtons(); }
void RTMainWindow::setupLayout(GameConfiguration& config) { QWidget* mainWidget = new QWidget(); QHBoxLayout* mainLayout = new QHBoxLayout(); QVBoxLayout* leftLayout = new QVBoxLayout(); setCentralWidget(mainWidget); /* Children widgets */ currentGame = new RTCurrentGameWidget(); cardsLayout = new RTCards(config); mainWidget->setLayout(mainLayout); mainLayout->addStretch(1); mainLayout->addLayout(leftLayout, 12); mainLayout->addLayout(cardsLayout, 20); batteryStatus = new QProgressBar(); batteryStatus->setObjectName(QString::fromUtf8("BatStat")); batteryStatus->setMinimum(0); batteryStatus->setMaximum(100); batteryStatus->setValue(0); const char * batStyleSheet = "QProgressBar {" " border: 1px solid black;" " border-radius: 4px;" " color: black;" " text-align: center;" " font-weight: bold;" "}" "QProgressBar::chunk#BatStat {" " background: qlineargradient(x1: 0, y1: 0.5, x2: 1.5, y2: 0.5, stop: 0 red, stop: 1 white);" "}" "QProgressBar::chunk#BatStat[batterystatus=\"charging\"] {" " background: qlineargradient(x1: 0, y1: 0.5, x2: 1.5, y2: 0.5, stop: 0 green, stop: 1 white);" "}" "QProgressBar::chunk#BatStat[batterystatus=\"discharging\"] {" " background: qlineargradient(x1: 0, y1: 0.5, x2: 1.5, y2: 0.5, stop: 0 red, stop: 1 white);" "}"; batteryStatus->setStyleSheet(batStyleSheet); /* add all to the main layout */ QHBoxLayout* bottom = new QHBoxLayout(); bottom->addLayout(setupButtons()); bottom->addWidget(setupStats()); QHBoxLayout* battery = new QHBoxLayout(); battery->addWidget(new QLabel("Battery: ")); battery->addWidget(batteryStatus); leftLayout->addWidget(currentGame, 14); leftLayout->addLayout(bottom, 4); leftLayout->addStretch(1); leftLayout->addLayout(battery, 2); }
void FileTransferWidget::onFileTransferAccepted(ToxFile file) { if (fileInfo != file) return; fileInfo = file; setBackgroundColor(Style::getColor(Style::LightGrey), false); setupButtons(); }
KTScenesWidget::KTScenesWidget(QWidget *parent) : KTModuleWidgetBase(parent, "KTScenesWidget"), k(new Private) { #ifdef K_DEBUG KINIT; #endif setWindowTitle(tr("Scenes Manager")); setWindowIcon(QPixmap(THEME_DIR + "icons/scenes.png")); setupButtons(); setupTableScenes(); }
MainDialog::MainDialog() { Global::init(); setFixedSize(Global::desktop.width()*0.6f, Global::desktop.height()*0.5f); netman_.reset(new NetworkManager(this)); setupButtons(); setupTable(); setWindowTitle(Global::productFullName()); }
PreferencesDialog::PreferencesDialog(QWidget* parent) : QDialog(parent), ui(new Ui::Preferences) { ui->setupUi(this); //TODO for now don't display the //preferences categories. ui->listWidget->hide(); setupColors(); setupButtons(); }
void SludgeProjectManager::postNew() { GtkWidget *dialog; GtkFileFilter *filter; gboolean success = FALSE; dialog = gtk_file_chooser_dialog_new("New SLUDGE Project", NULL, GTK_FILE_CHOOSER_ACTION_SAVE, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER (dialog), TRUE); filter = gtk_file_filter_new(); gtk_file_filter_set_name(filter, getFilterName()); gtk_file_filter_add_pattern(filter, getFilterPattern()); gtk_file_chooser_set_filter(GTK_FILE_CHOOSER (dialog), filter); gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER (dialog), getUntitledFilename()); if (currentFolder[0] != 0) { gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER (dialog), currentFolder); } if (gtk_dialog_run(GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) { char *filename; filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER (dialog)); flipBackslashes(&filename); doNewProject(filename, fileList, &fileListNum); listChanged(FILE_TREEVIEW); listChanged(RESOURCE_TREEVIEW); gtk_list_store_clear(errorsListStore); gtk_widget_set_sensitive(projectRunGameItem, FALSE); setFilename(filename); setFolderFromFilename(filename); g_free(filename); success = TRUE; } gtk_widget_destroy(dialog); if (success) on_project_settings(); setupButtons(); }
void SludgeZBufferMaker::postNew() { GtkWidget *dialog; dialog = gtk_file_chooser_dialog_new("Load file to zBuffer", NULL, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); setFileChooserFilters(GTK_FILE_CHOOSER (dialog), FALSE, TRUE); if (currentFolder[0] != 0) { gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER (dialog), currentFolder); } if (gtk_dialog_run(GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) { char *filename; filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER (dialog)); flipBackslashes(&filename); if (!loadZBufferFromTGA(filename, &backdrop)) { errorBox("Error", "Loading TGA file failed."); } else { setFolderFromFilename(filename); setFilename(filename); int i, lastSlash; for (i = 0; filename[i] != 0; i++) { if (filename[i] == '/') lastSlash = i; } currentShortname[i-lastSlash-4] = 'z'; currentShortname[i-lastSlash-3] = 'b'; currentShortname[i-lastSlash-2] = 'u'; currentFilename[0] = 0; gtk_window_set_title(GTK_WINDOW(theWindow), getWindowTitle()); setFileChanged(); postOpen(); } g_free(filename); } gtk_widget_destroy(dialog); setupButtons(); }
SludgeZBufferMaker::SludgeZBufferMaker() : SludgeGLApplication(joinTwoStrings(DATADIR, "ZBufferMaker.glade"), "zIcon", "zbuffermaker") { if (!initSuccess) return; theSliderAdjustment = GTK_ADJUSTMENT (gtk_builder_get_object(theXml, "slider_adjustment")); theYAdjustment = GTK_ADJUSTMENT (gtk_builder_get_object(theXml, "y_adjustment")); theNumBuffersLabel = GTK_LABEL (gtk_builder_get_object(theXml, "num_buffers_label")); saveItem = GTK_WIDGET (gtk_builder_get_object(theXml, "save")); saveAsItem = GTK_WIDGET (gtk_builder_get_object(theXml, "save_as")); init(TRUE); setupButtons(); }
void Raspbed::resetBed() { qDebug() << "Stopping serialport to change settings"; bed.getSerialPort()->stop(); bed.getSerialPort()->setPortName(settings.getPort().toStdString()); qDebug() << "Reopening port with " << settings.getPort(); if (!bed.getSerialPort()->open()) { setupButtons(); QString errorMessage = "WARNING: No serial port open. Failure opening " + settings.getPort(); ui->statusBar->showMessage(errorMessage); } }
void FileTransferWidget::onFileTransferCancelled(ToxFile file) { if (fileInfo != file) return; fileInfo = file; setBackgroundColor(Style::getColor(Style::Red), true); setupButtons(); hideWidgets(); disconnect(Core::getInstance(), 0, this, 0); }
TupScenesWidget::TupScenesWidget(QWidget *parent) : TupModuleWidgetBase(parent, "TupScenesWidget"), k(new Private) { #ifdef K_DEBUG #ifdef Q_OS_WIN qDebug() << "[TupScenesWidget()]"; #else TINIT; #endif #endif setWindowTitle(tr("Scenes Manager")); setWindowIcon(QPixmap(THEME_DIR + "icons/scenes.png")); setupButtons(); setupTableScenes(); }
QgsMdalSourceSelect::QgsMdalSourceSelect( QWidget *parent, Qt::WindowFlags fl, QgsProviderRegistry::WidgetMode widgetMode ): QgsAbstractDataSourceWidget( parent, fl, widgetMode ) { setupUi( this ); setupButtons( buttonBox ); mFileWidget->setDialogTitle( tr( "Open MDAL Supported Mesh Dataset(s)" ) ); mFileWidget->setFilter( QStringLiteral( "All files(*.*);;GRIB File(*.grb *.grb2 *.bin *.grib *.grib1 *.grib2);;2DM Mesh File(*.2dm)" ) ); mFileWidget->setStorageMode( QgsFileWidget::GetMultipleFiles ); connect( mFileWidget, &QgsFileWidget::fileChanged, this, [ = ]( const QString & path ) { mMeshPath = path; emit enableButtons( ! mMeshPath.isEmpty() ); } ); }
void Update() { string msg = state->update(); if (msg == "GOOOOOAAAAAAL") { delete state; state = new Menu(); if (luaL_loadfile(buttonState, "menuButtons.txt") || lua_pcall(buttonState, 0, 0, 0)) throw; setupButtons(); } glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); buttonRender(); state->Render(); }
void Raspbed::setupDisplay() { setupIconBorders(); QIcon headUpButtonIcon(headUpPixmap); ui->headUpButton->setIcon(headUpButtonIcon); QIcon headDownButtonIcon(headDownPixmap); ui->headDownButton->setIcon(headDownButtonIcon); QIcon feetUpButtonIcon(feetUpPixmap); ui->feetUpButton->setIcon(feetUpButtonIcon); QIcon feetDownButtonIcon(feetDownPixmap); ui->feetDownButton->setIcon(feetDownButtonIcon); QIcon trendButtonIcon(trendPixmap); ui->trendButton->setIcon(trendButtonIcon); QIcon bedUpButtonIcon(bedUpPixmap); ui->bedUpButton->setIcon(bedUpButtonIcon); QIcon bedDownButtonIcon(bedDownPixmap); ui->bedDownButton->setIcon(bedDownButtonIcon); QIcon lowerWheelsButtonIcon(lowerWheelsPixmap); ui->lowerWheelsButton->setIcon(lowerWheelsButtonIcon); QIcon flattenBedButtonIcon(flattenBedPixmap); ui->flattenBedButton->setIcon(flattenBedButtonIcon); QIcon callButtonIcon(callPixmap); ui->callButton->setIcon(callButtonIcon); setupButtons(); if (!settings.isButtonMode()) { selectedButton = ui->headUpButton; if(settings.isDarkHighlight()){ selectedButton->setStyleSheet("border: 3px solid black"); } else { selectedButton->setStyleSheet("border: 3px solid white"); } } }