Freeciv-3.3
Loading...
Searching...
No Matches
Functions
ratesdlg.cpp File Reference
#include <QApplication>
#include <QGroupBox>
#include <QMouseEvent>
#include <QPainter>
#include <QScreen>
#include <QVBoxLayout>
#include "multipliers.h"
#include "fc_client.h"
#include "dialogs.h"
#include "qtg_cxxside.h"
#include "sprite.h"
#include "ratesdlg.h"

Go to the source code of this file.

Functions

static int scale_to_mult (const struct multiplier *pmul, int scale)
 
static int mult_to_scale (const struct multiplier *pmul, int val)
 
void popup_rates_dialog (void)
 
void real_multipliers_dialog_update (void *unused)
 
void popup_multiplier_dialog (void)
 

Function Documentation

◆ mult_to_scale()

int mult_to_scale ( const struct multiplier pmul,
int  val 
)
static

Convert real multiplier display value to scale value

Definition at line 230 of file ratesdlg.cpp.

◆ popup_multiplier_dialog()

void popup_multiplier_dialog ( void  )

Popups multiplier dialog

Definition at line 279 of file ratesdlg.cpp.

◆ popup_rates_dialog()

void popup_rates_dialog ( void  )

Popup (or raise) the (tax/science/luxury) rates selection dialog.

Definition at line 246 of file ratesdlg.cpp.

◆ real_multipliers_dialog_update()

void real_multipliers_dialog_update ( void unused)

Update multipliers (policies) dialog.

Definition at line 271 of file ratesdlg.cpp.

◆ scale_to_mult()

int scale_to_mult ( const struct multiplier pmul,
int  scale 
)
static

Convert scale units to real multiplier display value

Definition at line 238 of file ratesdlg.cpp.