mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-26 18:35:32 +02:00
Bug 265352 - [terminal][api] Terminal widget should allow setting fonts programmatically
This commit is contained in:
parent
40ade66af4
commit
68a3645b49
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2008 Wind River Systems, Inc. and others.
|
* Copyright (c) 2008, 2012 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Michael Scharf (Wind River) - initial API and implementation
|
* Michael Scharf (Wind River) - initial API and implementation
|
||||||
|
* Martin Oberhuber (Wind River) - [265352][api] Allow setting fonts programmatically
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.tm.internal.terminal.view;
|
package org.eclipse.tm.internal.terminal.view;
|
||||||
|
|
||||||
|
@ -149,6 +150,10 @@ public class TerminalViewControlDecorator implements ITerminalViewControl {
|
||||||
fViewContoler.setFont(font);
|
fViewContoler.setFont(font);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setFont(String fontName) {
|
||||||
|
fViewContoler.setFont(fontName);
|
||||||
|
}
|
||||||
|
|
||||||
public void setInvertedColors(boolean invert) {
|
public void setInvertedColors(boolean invert) {
|
||||||
fViewContoler.setInvertedColors(invert);
|
fViewContoler.setInvertedColors(invert);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
* Michael Scharf (Wind River) - initial API and implementation
|
* Michael Scharf (Wind River) - initial API and implementation
|
||||||
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
* Martin Oberhuber (Wind River) - [204796] Terminal should allow setting the encoding to use
|
* Martin Oberhuber (Wind River) - [204796] Terminal should allow setting the encoding to use
|
||||||
|
* Martin Oberhuber (Wind River) - [265352][api] Allow setting fonts programmatically
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
package org.eclipse.tm.internal.terminal.control;
|
package org.eclipse.tm.internal.terminal.control;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue