diff options
author | John Marino <marino@FreeBSD.org> | 2015-10-16 14:51:05 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-10-16 14:51:05 +0000 |
commit | c212d6f6fd86963e9fc8e9cb56441cbf31145768 (patch) | |
tree | ffb54a1d193490f51a27001167deabd314e56150 /editors/fxite/files/patch-src__theme.cpp | |
parent | - Update to 2.60 (diff) |
editors/fxite: Fix when Fox-1.7 option selected
Reorganizes port, rewrapps pkg-descr too.
This uses a new distribution file from GitHub but for some reason
the version number didn't change.
PR: 200300
Submitted by: ports fury
Diffstat (limited to '')
-rw-r--r-- | editors/fxite/files/patch-src__theme.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/editors/fxite/files/patch-src__theme.cpp b/editors/fxite/files/patch-src__theme.cpp new file mode 100644 index 000000000000..a59bd9fb9c37 --- /dev/null +++ b/editors/fxite/files/patch-src__theme.cpp @@ -0,0 +1,29 @@ +--- src/theme.cpp.orig 2013-10-03 09:22:51 UTC ++++ src/theme.cpp +@@ -644,16 +644,16 @@ void ThemeGUI::SetDemoColors() + long ThemeGUI::onSelectTheme(FXObject*o, FXSelector sel, void*p) + { + AppColors*ac=(AppColors*)(list->getItemData((FXint)((FXival)p))); +- cw_base->setRGBA(ac->base,TRUE); +- cw_bord->setRGBA(ac->border,TRUE); +- cw_fore->setRGBA(ac->fore,TRUE); +- cw_back->setRGBA(ac->back,TRUE); +- cw_self->setRGBA(ac->selfore,TRUE); +- cw_selb->setRGBA(ac->selback,TRUE); +- cw_menf->setRGBA(ac->selmenutext,TRUE); +- cw_menb->setRGBA(ac->selmenuback,TRUE); +- cw_tipf->setRGBA(ac->tipfore,TRUE); +- cw_tipb->setRGBA(ac->tipback,TRUE); ++ cw_base->setRGBA(ac->base,true); ++ cw_bord->setRGBA(ac->border,true); ++ cw_fore->setRGBA(ac->fore,true); ++ cw_back->setRGBA(ac->back,true); ++ cw_self->setRGBA(ac->selfore,true); ++ cw_selb->setRGBA(ac->selback,true); ++ cw_menf->setRGBA(ac->selmenutext,true); ++ cw_menb->setRGBA(ac->selmenuback,true); ++ cw_tipf->setRGBA(ac->tipfore,true); ++ cw_tipb->setRGBA(ac->tipback,true); + if (&custom_colors!=ac) { + memcpy(&custom_colors.base,&ac->base,sizeof(AppColors)-sizeof(char*)); + } |