PhotoScaleWindow::PhotoScaleWindow(PhotoScaleMain *plugin)
: PluginClientWindow(plugin,
- 250,
- 200,
- 250,
- 200,
+ xS(250),
+ yS(200),
+ xS(250),
+ yS(200),
0)
{
this->plugin = plugin;
void PhotoScaleWindow::create_objects()
{
- int x = 10, y = 10;
+ int x = xS(10), y = yS(10);
BC_Title *title;
int x2 = x + BC_Title::calculate_w(this, _("Height:")) + plugin->get_theme()->widget_border;
this,
x2,
y,
- 100,
+ xS(100),
&(plugin->config.width)));
y += output_size[0]->get_h() + plugin->get_theme()->widget_border;
this,
x2,
y,
- 100,
+ xS(100),
&(plugin->config.height)));
FrameSizePulldown *pulldown;
PhotoScaleConfig::PhotoScaleConfig()
{
- width = 640;
- height = 480;
+ width = xS(640);
+ height = yS(480);
use_file = 1;
}