/*
 * Copyright (c) 1997 - 2001 Hansjörg Malthaner
 *
 * This file is part of the Simutrans project under the artistic licence.
 * (see licence.txt)
 */

/*
 * Building facing selector, when CTRL+Clicking over a building icon in menu
 */

#ifndef station_building_select_h
#define station_building_select_h

#include "components/action_listener.h"
#include "gui_frame.h"
#include "components/gui_button.h"
#include "components/gui_image.h"
#include "components/gui_label.h"
#include "components/gui_textinput.h"


class haus_besch_t;
class tool_build_station_t;

class station_building_select_t : public gui_frame_t, action_listener_t
{
	const haus_besch_t *besch;

	char buf[64];
	button_t actionbutton[4];
	gui_label_t txt;
	gui_image_t img[16];

	static char default_str[260];
	static tool_build_station_t tool;

public:
	station_building_select_t(const haus_besch_t *besch);

	bool action_triggered(gui_action_creator_t*, value_t) OVERRIDE;
};

#endif
