Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
hud.h File Reference
#include <vector>
#include <IGUIFont.h>
#include <SMaterial.h>
#include <SMeshBuffer.h>
#include "irr_ptr.h"
#include "irr_aabb3d.h"
#include "../hud.h"
+ Include dependency graph for hud.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Hud
 

Namespaces

namespace  irr
 
namespace  irr::scene
 
namespace  irr::video
 

Enumerations

enum  ItemRotationKind {
  IT_ROT_SELECTED , IT_ROT_HOVERED , IT_ROT_DRAGGED , IT_ROT_OTHER ,
  IT_ROT_NONE
}
 

Functions

void drawItemStack (video::IVideoDriver *driver, gui::IGUIFont *font, const ItemStack &item, const core::rect< s32 > &rect, const core::rect< s32 > *clip, Client *client, ItemRotationKind rotation_kind)
 
void drawItemStack (video::IVideoDriver *driver, gui::IGUIFont *font, const ItemStack &item, const core::rect< s32 > &rect, const core::rect< s32 > *clip, Client *client, ItemRotationKind rotation_kind, const v3s16 &angle, const v3s16 &rotation_speed)
 

Enumeration Type Documentation

◆ ItemRotationKind

Enumerator
IT_ROT_SELECTED 
IT_ROT_HOVERED 
IT_ROT_DRAGGED 
IT_ROT_OTHER 
IT_ROT_NONE 

Function Documentation

◆ drawItemStack() [1/2]

void drawItemStack ( video::IVideoDriver * driver,
gui::IGUIFont * font,
const ItemStack & item,
const core::rect< s32 > & rect,
const core::rect< s32 > * clip,
Client * client,
ItemRotationKind rotation_kind )

References drawItemStack().

Referenced by Hud::drawItem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawItemStack() [2/2]

void drawItemStack ( video::IVideoDriver * driver,
gui::IGUIFont * font,
const ItemStack & item,
const core::rect< s32 > & rect,
const core::rect< s32 > * clip,
Client * client,
ItemRotationKind rotation_kind,
const v3s16 & angle,
const v3s16 & rotation_speed )