antialias toggle in toolbar
This commit is contained in:
parent
475ae35df0
commit
11a3304789
1 changed files with 5 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Theme.cc,v 1.33 2002/11/03 10:39:25 fluxgen Exp $
|
// $Id: Theme.cc,v 1.34 2002/11/15 13:10:48 fluxgen Exp $
|
||||||
|
|
||||||
#ifndef _GNU_SOURCE
|
#ifndef _GNU_SOURCE
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
@ -917,6 +917,10 @@ void Theme::reconfigure(bool antialias) {
|
||||||
XChangeGC(m_display, m_menustyle.hilite_gc,
|
XChangeGC(m_display, m_menustyle.hilite_gc,
|
||||||
gc_value_mask, &gcv);
|
gc_value_mask, &gcv);
|
||||||
|
|
||||||
|
// set antialias ?
|
||||||
|
if (m_toolbarstyle.font.isAntialias() != antialias)
|
||||||
|
m_toolbarstyle.font.setAntialias(antialias);
|
||||||
|
|
||||||
gcv.foreground = m_toolbarstyle.l_text.pixel();
|
gcv.foreground = m_toolbarstyle.l_text.pixel();
|
||||||
XChangeGC(m_display, m_toolbarstyle.l_text_gc,
|
XChangeGC(m_display, m_toolbarstyle.l_text_gc,
|
||||||
gc_value_mask, &gcv);
|
gc_value_mask, &gcv);
|
||||||
|
|
Loading…
Reference in a new issue