Blood(1997)-like dynamic weapon widget

Hi all! There is an array with weapons, to which any number of weapons can be added in any sequence. This weapon scrolls cyclically, ammo values and icons are displayed on the widget. How do I make a widget that would display the current weapon in the player’s hands in the widget icon in the middle (the main icon), and the previous and next weapons would be displayed in icons on the sides of the main icon, as in the game Blood (1997)?