CityRenderingEngine/engine/ui/PanelItem.cpp
/*
 * The parameter amount is positive when the wheel is scrolled away from the player,
 * and negative if scrolled toward the player.
 */
The parameter amount is positive when the wheel is scrolled away from the player,
and negative if scrolled toward the player.
The parameter amount is positive when the wheel is scrolled away from the player and negative if scrolled toward the player .
void PanelItem::onMouseWheelScroll(int amount) {
	for (std::vector<InterfaceItem*>::iterator it = innerItems->begin(); it != innerItems->end(); ++it) {
		(*it)->onMouseWheelScroll(amount);
	}
}
void PanelItem :: onMouseWheelScroll ( int amount ) { for ( std :: vector < InterfaceItem * > :: iterator it = innerItems -> begin ( ) ; it != innerItems -> end ( ) ; ++ it ) { ( * it ) -> onMouseWheelScroll ( amount ) ; } }
The parameter amount is positive when the wheel is scrolled away from the player,
 and negative if scrolled toward the player.
The parameter amount is positive when the wheel is scrolled away from the player and negative if scrolled toward the player .