Separated
This commit is contained in:
		
					parent
					
						
							
								ac1d04353e
							
						
					
				
			
			
				commit
				
					
						31c1965331
					
				
			
		
					 2 changed files with 60 additions and 37 deletions
				
			
		| 
						 | 
				
			
			@ -58,50 +58,20 @@ void gui::Gui::render_gui(const Controller &controller) {
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
		ImGui::BeginGroup();
 | 
			
		||||
		{
 | 
			
		||||
			ImGui::BeginChild("habilete", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.2f), true);
 | 
			
		||||
			ImGui::Text("Habileté");
 | 
			
		||||
			ImGui::EndChild();
 | 
			
		||||
		}
 | 
			
		||||
		habilete_menu();
 | 
			
		||||
		ImGui::SameLine();
 | 
			
		||||
 | 
			
		||||
		{
 | 
			
		||||
			ImGui::BeginChild("adresse", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.2f), true);
 | 
			
		||||
			ImGui::Text("Adresse");
 | 
			
		||||
			ImGui::Text("Bottom pane1");
 | 
			
		||||
			ImGui::Text("Bottom pane2");
 | 
			
		||||
			ImGui::Text("Bottom pane3");
 | 
			
		||||
			ImGui::Text("Bottom pane4");
 | 
			
		||||
			ImGui::EndChild();
 | 
			
		||||
		}
 | 
			
		||||
		adresse_menu();
 | 
			
		||||
 | 
			
		||||
		{
 | 
			
		||||
			ImGui::BeginChild("endurance", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.2f), true);
 | 
			
		||||
			ImGui::Text("Endurance");
 | 
			
		||||
			ImGui::Text("Bottom pane1");
 | 
			
		||||
			ImGui::Text("Bottom pane2");
 | 
			
		||||
			ImGui::Text("Bottom pane3");
 | 
			
		||||
			ImGui::Text("Bottom pane4");
 | 
			
		||||
			ImGui::EndChild();
 | 
			
		||||
		}
 | 
			
		||||
		endurance_menu();
 | 
			
		||||
		ImGui::SameLine();
 | 
			
		||||
 | 
			
		||||
		{
 | 
			
		||||
			ImGui::BeginChild("chance", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.2f), true);
 | 
			
		||||
			ImGui::Text("Chance");
 | 
			
		||||
			ImGui::Text("Bottom pane1");
 | 
			
		||||
			ImGui::Text("Bottom pane2");
 | 
			
		||||
			ImGui::Text("Bottom pane3");
 | 
			
		||||
			ImGui::Text("Bottom pane4");
 | 
			
		||||
			ImGui::EndChild();
 | 
			
		||||
		}
 | 
			
		||||
		chance_menu();
 | 
			
		||||
		ImGui::EndGroup();
 | 
			
		||||
 | 
			
		||||
		ImGui::SameLine();
 | 
			
		||||
		{
 | 
			
		||||
			ImGui::BeginChild("stats secondaire", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.4f), true);
 | 
			
		||||
			ImGui::Text("STAT. SECONDAIRES");
 | 
			
		||||
			ImGui::EndChild();
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		stat_second_menu();
 | 
			
		||||
 | 
			
		||||
		ImGui::End();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -117,3 +87,45 @@ void gui::Gui::render_gpu() const {
 | 
			
		|||
		ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void gui::Gui::habilete_menu() noexcept {
 | 
			
		||||
	ImGui::BeginChild("habilete", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.2f), true);
 | 
			
		||||
	ImGui::Text("Habileté");
 | 
			
		||||
	ImGui::EndChild();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void gui::Gui::adresse_menu() noexcept {
 | 
			
		||||
	ImGui::BeginChild("adresse", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.2f), true);
 | 
			
		||||
	ImGui::Text("Adresse");
 | 
			
		||||
	ImGui::Text("Bottom pane1");
 | 
			
		||||
	ImGui::Text("Bottom pane2");
 | 
			
		||||
	ImGui::Text("Bottom pane3");
 | 
			
		||||
	ImGui::Text("Bottom pane4");
 | 
			
		||||
	ImGui::EndChild();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void gui::Gui::endurance_menu() noexcept {
 | 
			
		||||
	ImGui::BeginChild("endurance", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.2f), true);
 | 
			
		||||
	ImGui::Text("Endurance");
 | 
			
		||||
	ImGui::Text("Bottom pane1");
 | 
			
		||||
	ImGui::Text("Bottom pane2");
 | 
			
		||||
	ImGui::Text("Bottom pane3");
 | 
			
		||||
	ImGui::Text("Bottom pane4");
 | 
			
		||||
	ImGui::EndChild();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void gui::Gui::chance_menu() noexcept {
 | 
			
		||||
	ImGui::BeginChild("chance", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.2f), true);
 | 
			
		||||
	ImGui::Text("Chance");
 | 
			
		||||
	ImGui::Text("Bottom pane1");
 | 
			
		||||
	ImGui::Text("Bottom pane2");
 | 
			
		||||
	ImGui::Text("Bottom pane3");
 | 
			
		||||
	ImGui::Text("Bottom pane4");
 | 
			
		||||
	ImGui::EndChild();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void gui::Gui::stat_second_menu() noexcept {
 | 
			
		||||
	ImGui::BeginChild("stats secondaire", ImVec2(ImGui::GetWindowWidth() / 3, ImGui::GetWindowHeight() * 0.4f), true);
 | 
			
		||||
	ImGui::Text("STAT. SECONDAIRES");
 | 
			
		||||
	ImGui::EndChild();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue