Back to index

easystroke  0.5.5.1
Static Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes
Ranking Class Reference

#include <actiondb.h>

Collaboration diagram for Ranking:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static void queue_show (RRanking r, RTriple e)

Public Attributes

RStroke stroke
RStroke best_stroke
RAction action
double score
std::string name
std::multimap< double,
std::pair< std::string,
RStroke > > 
r

Static Private Member Functions

static bool show (RRanking r)

Private Attributes

int x
int y

Detailed Description

Definition at line 208 of file actiondb.h.


Member Function Documentation

void Ranking::queue_show ( RRanking  r,
RTriple  e 
) [static]

Definition at line 99 of file stats.cc.

                                              {
       r->x = (int)e->x;
       r->y = (int)e->y;
       Glib::signal_idle().connect(sigc::bind(sigc::ptr_fun(&Ranking::show), r));
}

Here is the call graph for this function:

Here is the caller graph for this function:

bool Ranking::show ( RRanking  r) [static, private]

Definition at line 109 of file stats.cc.

                             {
       if (prefs.tray_feedback.get())
              win->set_icon(r->stroke, !r->best_stroke);
       if (prefs.feedback.get() && r->best_stroke) {
              if (prefs.advanced_popups.get() || !(r->best_stroke->button || r->best_stroke->timeout)) {
                     boost::shared_ptr<Feedback> popup(new Feedback(r->best_stroke, r->name, r->x, r->y));
                     Glib::signal_timeout().connect(sigc::bind(sigc::ptr_fun(&delete_me), popup), 600);
              }
       }
       Glib::signal_timeout().connect(sigc::bind(sigc::mem_fun(*win->stats, &Stats::on_stroke), r), 200);
       return false;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 213 of file actiondb.h.

Definition at line 212 of file actiondb.h.

std::string Ranking::name

Definition at line 215 of file actiondb.h.

std::multimap<double, std::pair<std::string, RStroke> > Ranking::r

Definition at line 216 of file actiondb.h.

Definition at line 214 of file actiondb.h.

Definition at line 212 of file actiondb.h.

int Ranking::x [private]

Definition at line 210 of file actiondb.h.

int Ranking::y [private]

Definition at line 210 of file actiondb.h.


The documentation for this class was generated from the following files: