all repos — fluxbox @ 1023cd71dccef058112fc2223f07ab6f5757f2d1

custom fork of the fluxbox windowmanager

antialias option and removed display argument in constructor
fluxgen fluxgen
commit

1023cd71dccef058112fc2223f07ab6f5757f2d1

parent

729f9840ae47a373fdf5396e00efd25d0c988f54

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M util/fbrun/FbRun.hhutil/fbrun/FbRun.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbRun.hh,v 1.1 2002/08/20 02:04:34 fluxgen Exp $ +// $Id: FbRun.hh,v 1.2 2002/11/12 16:47:37 fluxgen Exp $ #ifndef FBRUN_HH #define FBRUN_HH

@@ -35,7 +35,7 @@ TODO: a command history

*/ class FbRun: public FbTk::EventHandler<XEvent> { public: - FbRun(Display *disp, int x = 0, int y = 0, size_t width = 200); + FbRun(int x = 0, int y = 0, size_t width = 200); ~FbRun(); void handleEvent(XEvent * const ev); void setText(const std::string &text);

@@ -50,6 +50,7 @@ /// load and reconfigure for new font

bool loadFont(const std::string &fontname); void setForeground(const XColor &color); void setBackground(const XColor &color); + void setAntialias(bool val) { m_font.setAntialias(val); } const FbTk::Font &font() const { return m_font; } /// execute command and exit void run(const std::string &execstring);