Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
autosquash committed Jan 29, 2024
1 parent dbd5384 commit 641d577
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions src/vista/etiquetas/etiquetas_pedidos.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#include "etiquetas_pedidos.h"
#include "../../modelo/control_pizzas.h"
#include "../../modelo/dominio.h"
#include "../../shared/log_init.h"
#include "../../templates/dibujar_elementos.h"
#include "../../templates/helpers.h"
Expand All @@ -10,7 +8,6 @@
#include "../presentador.h"
#include <SFML/Graphics/RenderTarget.hpp>
#include <cassert>
#include <iostream>

namespace medidas {
constexpr float SEPARACION_VERTICAL_ENTRE_PEDIDOS = 24;
Expand Down Expand Up @@ -127,9 +124,7 @@ void EtiquetasPedidos::_actualizar_vista_pedidos( //
}
actualizar_tarjetas_pedidos(presentacion_pedidos, tarjetas_pedidos);
for (auto tarjeta : tarjetas_pedidos) {
assert(font.exists());
add_child(tarjeta);
assert(tarjeta->has_font());
}
}

Expand Down
8 changes: 0 additions & 8 deletions src/vista/etiquetas/etiquetas_pedidos.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
#include <vector>

class Etiqueta;
class Pedido;

namespace dominio {
enum class TipoPizza;
}
namespace modelo {
using Pedidos = std::vector<Pedido>;
} // namespace modelo
namespace sf {
class RenderTarget;
}
Expand All @@ -40,7 +33,6 @@ class TarjetaPedido : public ComponenteConFont {
* Contiene los elementos visuales que muestran los pedidos.
*/
class EtiquetasPedidos : public ComponenteConFont {
using TipoPizza = dominio::TipoPizza;

private:
void _actualizar_vista_pedidos(
Expand Down
1 change: 0 additions & 1 deletion src/vista/vista.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "vista_data.h"
#include <SFML/Graphics/RenderTarget.hpp>
#include <cassert>
#include <iostream>
#include <map>
#include <string>

Expand Down
1 change: 0 additions & 1 deletion src/vista/vista.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "../modelo/modelo.h"
#include "botones_app.h"
#include "etiquetas/etiquetas.h"
#include "paneles.h"
Expand Down

0 comments on commit 641d577

Please sign in to comment.