all repos — fluxbox @ bfd09dc88ceeda456f93bb85e1a328bb1e2e42e0

custom fork of the fluxbox windowmanager

accessor and manipulator for m_shadow
fluxgen fluxgen
commit

bfd09dc88ceeda456f93bb85e1a328bb1e2e42e0

parent

574a9b09d92b83a9da11ba5f93505442da1a62ce

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

jump to
M src/FbTk/Font.hhsrc/FbTk/Font.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: Font.hh,v 1.6 2003/12/16 17:06:51 fluxgen Exp $ +//$Id: Font.hh,v 1.7 2003/12/19 17:07:53 fluxgen Exp $ #ifndef FBTK_FONT_HH #define FBTK_FONT_HH

@@ -54,6 +54,7 @@ static bool multibyte() { return m_multibyte; }

/// @return true if utf-8 mode is enabled, else false static bool utf8() { return m_utf8mode; } void setAntialias(bool flag); + inline void setShadow(bool flag) { m_shadow = flag; } /** @param text text to check size @param size length of text in bytes

@@ -88,6 +89,7 @@ /// @return true if the font is rotated, else false

bool isRotated() const { return m_rotated; } /// @return rotated angle float angle() const { return m_angle; } + bool shadow() const { return m_shadow; } private: std::auto_ptr<FontImp> m_fontimp; ///< font implementation