src/pi/ui/ViewManager.cpp
void ViewManager::updateWindowTitle() {
	// Make a title with format: "FollowMe - Layout name (Layout Position/Layout Count)"
	char title[256];
	sprintf(title, "FollowMe - %s (%d/%d)", getActiveLayoutName().c_str(), activeLayoutIndex+1, (int)names.size());	
	// Commit title
	SDL_WM_SetCaption(title, NULL);
}
/** Update the title of the window according to the active layout **/
Update the title of the window according to the active layout
Update the title of the window according to the active layout
void ViewManager::updateWindowTitle() {
	char title[256];
	sprintf(title, "FollowMe - %s (%d/%d)", getActiveLayoutName().c_str(), activeLayoutIndex+1, (int)names.size());	
	SDL_WM_SetCaption(title, NULL);
}
void ViewManager :: updateWindowTitle ( ) { char title [ 256 ] ; sprintf ( title , " " , getActiveLayoutName ( ) . c_str ( ) , activeLayoutIndex + 1 , ( int ) names . size ( ) ) ; SDL_WM_SetCaption ( title , NULL ) ; }
Update the title of the window according to the active layout
Update the title of the window according to the active layout
// Make a title with format: "FollowMe - Layout name (Layout Position/Layout Count)" // Commit title