"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Style.cxx" between
scintilla445.tgz and scintilla446.tgz

About: Scintilla is a source code editing component (used for e.g. by SciTE).

Style.cxx  (scintilla445.tgz):Style.cxx  (scintilla446.tgz)
skipping to change at line 27 skipping to change at line 27
using namespace Scintilla; using namespace Scintilla;
FontAlias::FontAlias() noexcept { FontAlias::FontAlias() noexcept {
} }
FontAlias::FontAlias(const FontAlias &other) noexcept : Font() { FontAlias::FontAlias(const FontAlias &other) noexcept : Font() {
SetID(other.fid); SetID(other.fid);
} }
FontAlias::FontAlias(FontAlias &&other) noexcept : Font() {
SetID(other.fid);
other.ClearFont();
}
FontAlias::~FontAlias() { FontAlias::~FontAlias() {
SetID(FontID{}); SetID(FontID{});
// ~Font will not release the actual font resource since it is now 0 // ~Font will not release the actual font resource since it is now 0
} }
void FontAlias::MakeAlias(const Font &fontOrigin) noexcept { void FontAlias::MakeAlias(const Font &fontOrigin) noexcept {
SetID(fontOrigin.GetID()); SetID(fontOrigin.GetID());
} }
void FontAlias::ClearFont() noexcept { void FontAlias::ClearFont() noexcept {
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

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