mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
reimplemented unit listboxes in the map editor
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "exportButton.h"
|
||||
#include "skyboxTextureListbox.h"
|
||||
#include "landTextureListbox.h"
|
||||
#include "unitListbox.h"
|
||||
|
||||
namespace battleship{
|
||||
using namespace std;
|
||||
@@ -196,7 +197,7 @@ namespace battleship{
|
||||
closable = true;
|
||||
maxDisplay = (numLines > numMaxDisplay ? numMaxDisplay : numLines);
|
||||
|
||||
listbox = new Listbox(pos, size, lines, maxDisplay, fontPath, closable);
|
||||
listbox = new UnitListbox(pos, size, lines, maxDisplay, fontPath);
|
||||
break;
|
||||
}
|
||||
case SKYBOX_TEXTURES:
|
||||
|
||||
Reference in New Issue
Block a user