#include <invent.h>
Public Member Functions | |
InvEntry (const item_def &i) | |
std::string | get_text (const bool need_cursor=false) const |
void | set_show_glyph (bool doshow) |
const std::string & | get_basename () const |
const std::string & | get_qualname () const |
const std::string & | get_fullname () const |
bool | is_item_cursed () const |
bool | is_item_glowing () const |
bool | is_item_ego () const |
bool | is_item_art () const |
bool | is_item_equipped () const |
int | item_freshness () const |
virtual int | highlight_colour () const |
virtual void | select (int qty=-1) |
virtual std::string | get_filter_text () const |
Static Public Member Functions | |
static void | set_show_cursor (bool doshow) |
Public Attributes | |
const item_def * | item |
Friends | |
class | InvShowPrices |
InvEntry::InvEntry | ( | const item_def & | i | ) |
std::string InvEntry::get_text | ( | const bool | need_cursor = false |
) | const [virtual] |
Reimplemented from MenuEntry.
Reimplemented in DiscEntry, and ShopItemEntry.
void InvEntry::set_show_glyph | ( | bool | doshow | ) |
void InvEntry::set_show_cursor | ( | bool | doshow | ) | [static] |
const std::string & InvEntry::get_basename | ( | ) | const |
const std::string & InvEntry::get_qualname | ( | ) | const |
const std::string & InvEntry::get_fullname | ( | ) | const |
bool InvEntry::is_item_cursed | ( | ) | const |
bool InvEntry::is_item_glowing | ( | ) | const |
bool InvEntry::is_item_ego | ( | ) | const |
bool InvEntry::is_item_art | ( | ) | const |
bool InvEntry::is_item_equipped | ( | ) | const |
int InvEntry::item_freshness | ( | ) | const |
virtual int InvEntry::highlight_colour | ( | ) | const [inline, virtual] |
void InvEntry::select | ( | int | qty = -1 |
) | [virtual] |
std::string InvEntry::get_filter_text | ( | ) | const [virtual] |
friend class InvShowPrices [friend] |
const item_def* InvEntry::item |