"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinelerra/formatwindow.C" between
cin_5.1.20220531.src.tgz and cin_5.1.20220630.src.tgz

About: Cinelerra GG Infinity is an advanced non-linear video editor and compositor (a Cinelerra fork).

formatwindow.C  (cin_5.1.20220531.src.tgz):formatwindow.C  (cin_5.1.20220630.src.tgz)
skipping to change at line 140 skipping to change at line 140
: BC_ISlider(x, y, 0, xS(100), xS(100), 0, 100, default_, 1) : BC_ISlider(x, y, 0, xS(100), xS(100), 0, 100, default_, 1)
{ {
this->asset = asset; this->asset = asset;
} }
FormatQuality::~FormatQuality() FormatQuality::~FormatQuality()
{ {
} }
int FormatQuality::handle_event() int FormatQuality::handle_event()
{ {
asset->quality = get_value(); asset->quality = get_value();
return 0;
} }
FormatBits::FormatBits(int x, int y, Asset *asset) FormatBits::FormatBits(int x, int y, Asset *asset)
: BitsPopup(x, y, asset) : BitsPopup(x, y, asset)
{ this->asset = asset; } { this->asset = asset; }
FormatBits::~FormatBits() {} FormatBits::~FormatBits() {}
int FormatBits::handle_event() int FormatBits::handle_event()
{ {
asset->bits = get_bits(); asset->bits = get_bits();
return 0;
} }
FormatDither::FormatDither(int x, int y, int *dither) FormatDither::FormatDither(int x, int y, int *dither)
: BC_CheckBox(x, y, *dither, _("Dither")) : BC_CheckBox(x, y, *dither, _("Dither"))
{ this->dither = dither; } { this->dither = dither; }
FormatDither::~FormatDither() {} FormatDither::~FormatDither() {}
int FormatDither::handle_event() int FormatDither::handle_event()
{ {
*dither = get_value(); *dither = get_value();
return 0;
} }
FormatSigned::FormatSigned(int x, int y, Asset *asset) FormatSigned::FormatSigned(int x, int y, Asset *asset)
: BC_CheckBox(x, y, asset->signed_, _("Signed")) : BC_CheckBox(x, y, asset->signed_, _("Signed"))
{ this->asset = asset; } { this->asset = asset; }
FormatSigned::~FormatSigned() {} FormatSigned::~FormatSigned() {}
int FormatSigned::handle_event() int FormatSigned::handle_event()
{ {
asset->signed_ = get_value(); asset->signed_ = get_value();
return 0;
} }
FormatHILO::FormatHILO(int x, int y, Asset *asset) FormatHILO::FormatHILO(int x, int y, Asset *asset)
: BC_Radial(x, y, asset->byte_order ^ 1) : BC_Radial(x, y, asset->byte_order ^ 1)
{ {
this->asset = asset; this->asset = asset;
} }
FormatHILO::~FormatHILO() {} FormatHILO::~FormatHILO() {}
int FormatHILO::handle_event() int FormatHILO::handle_event()
{ {
asset->byte_order = get_value() ^ 1; asset->byte_order = get_value() ^ 1;
lohi->update(get_value() ^ 1); lohi->update(get_value() ^ 1);
return 0;
} }
FormatLOHI::FormatLOHI(int x, int y, FormatHILO *hilo, Asset *asset) FormatLOHI::FormatLOHI(int x, int y, FormatHILO *hilo, Asset *asset)
: BC_Radial(x, y, asset->byte_order) : BC_Radial(x, y, asset->byte_order)
{ {
this->hilo = hilo; this->hilo = hilo;
this->asset = asset; this->asset = asset;
} }
FormatLOHI::~FormatLOHI() {} FormatLOHI::~FormatLOHI() {}
int FormatLOHI::handle_event() int FormatLOHI::handle_event()
{ {
asset->byte_order = get_value(); asset->byte_order = get_value();
hilo->update(get_value() ^ 1); hilo->update(get_value() ^ 1);
return 0;
} }
 End of changes. 6 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)