<commit_before>#include "networklooby.h"
#include "guiitem.h"
#include "gamefont.h"

#include <mw/text.h>
#include <mw/color.h>

#include <list>
#include <string>
#include <sstream>
#include <memory>
#include <functional>
#include <algorithm>

NetworkLooby::NetworkLooby() {
}

void NetworkLooby::draw() {
	for (Connection& connection : ascList_) {
		glPushMatrix();
		connection.id_.draw();
		glTranslated(50,0,0);
		connection.numberOfPlayers_.draw();
		glTranslated(150,0,0);
		connection.ready_.draw();
		glPopMatrix();
		glTranslated(0,fontDefault18->getCharacterSize()+2,0);
	}	
}

void NetworkLooby::addConnection(int id, int nbrOfPlayers) {
	ascList_.push_back(Connection(id,nbrOfPlayers));
}
<commit_msg>White color in looby plus describing text.<commit_after>#include "networklooby.h"
#include "guiitem.h"
#include "gamefont.h"

#include <mw/text.h>
#include <mw/color.h>

#include <list>
#include <string>
#include <sstream>
#include <memory>
#include <functional>
#include <algorithm>

NetworkLooby::NetworkLooby() {
}

void NetworkLooby::draw() {
	glColor3d(1,1,1);
	
	glPushMatrix();
	for (Connection& connection : ascList_) {
		glPushMatrix();
		connection.id_.draw();
		glTranslated(50,0,0);
		connection.numberOfPlayers_.draw();
		glTranslated(200,0,0);
		connection.ready_.draw();
		glPopMatrix();
		glTranslated(0,fontDefault18->getCharacterSize()+2,0);
	}

	glTranslated(0,4,0);
	static mw::Text id("Id",fontDefault18);
	id.draw();
	glTranslated(50,0,0);
	static mw::Text nbr("Number Of Players",fontDefault18);
	nbr.draw();
	glTranslated(200,0,0);
	static mw::Text ready("Ready to Start?",fontDefault18);
	ready.draw();
	glPopMatrix();
}

void NetworkLooby::addConnection(int id, int nbrOfPlayers) {
	ascList_.push_front(Connection(id,nbrOfPlayers));
}

{'fraction_non_alphanumeric': 0.1668545659526494, 'fraction_numerical': 0.02818489289740699, 'mean_word_length': 6.683982683982684, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2832099', 'n_tokens_mistral': 710, 'n_tokens_neox': 654, 'n_words': 114}