all repos — fluxbox @ 662d1a459c15fb1616b5075a41529048520f7606

custom fork of the fluxbox windowmanager

setTile for X Drawable
fluxgen fluxgen
commit

662d1a459c15fb1616b5075a41529048520f7606

parent

b5b5fa7b53bb6c9a32d5b174edb96441f5deb1b3

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

jump to
M src/FbTk/GContext.hhsrc/FbTk/GContext.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: GContext.hh,v 1.11 2004/09/11 23:00:44 fluxgen Exp $ +// $Id: GContext.hh,v 1.12 2004/10/06 06:50:27 fluxgen Exp $ #ifndef FBTK_GCONTEXT_HH #define FBTK_GCONTEXT_HH

@@ -66,8 +66,12 @@ inline void setBackground(long pixel_value) {

XSetBackground(m_display, m_gc, pixel_value); } + inline void setTile(Drawable draw) { + XSetTile(m_display, m_gc, draw); + } + inline void setTile(const FbTk::FbPixmap &draw) { - XSetTile(m_display, m_gc, draw.drawable()); + setTile(draw.drawable()); } /// not implemented