Back to index

unity  6.0.0
Classes | Typedefs | Functions
unity::indicator Namespace Reference

Classes

class  AppmenuIndicator
class  DBusIndicators
class  Indicator
class  Entry
class  Indicators

Typedefs

typedef std::map< std::string,
nux::Rect > 
EntryLocationMap

Functions

std::ostream & operator<< (std::ostream &out, Indicator const &i)
std::ostream & operator<< (std::ostream &out, Entry const &e)

Typedef Documentation

typedef std::map<std::string, nux::Rect> unity::indicator::EntryLocationMap

Definition at line 39 of file IndicatorEntry.h.


Function Documentation

std::ostream& unity::indicator::operator<< ( std::ostream &  out,
Indicator const &  i 
)

Definition at line 141 of file Indicator.cpp.

{
  out << "<Indicator " << i.name() << std::endl;
  for (auto entry : i.entries_)
  {
    out << "\t" << entry << std::endl;
  }
  out << "\t>" << std::endl;
  return out;
}

Here is the call graph for this function:

std::ostream & unity::indicator::operator<< ( std::ostream &  out,
Entry const &  e 
)

Definition at line 228 of file IndicatorEntry.cpp.

{
  out << "<indicator::Entry " << e.id() << " hint: '" << e.name_hint() << "' "
      << std::boolalpha
      << " \"" << e.label() << "\" ("
      << e.label_sensitive() << ", " << e.label_visible() << ") image ("
      << e.image_sensitive() << ", " << e.image_visible() << ") "
      << (e.active() ? "active" : "not-active") << " "
      << (e.show_now() ? "show" : "dont-show") << " >";
  return out;
}

Here is the call graph for this function: