aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextureRender.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-02-22moved rarely used 'cpccpc' out of class declarationMathias Gumz1-11/+12
2011-02-22bugfix: render 'sunken' gradients correctlyMathias Gumz1-1/+1
2011-02-22Bugfix: don't render textures with dimension of 0Mathias Gumz1-1/+4
At least 'invertRGB()' does not like 'width' or 'height' being 0. 341b2f43e511e39dd was triggered by this problem as well.
2010-09-20bugfix: ' floating point exception' due wrongly placed codeMathias Gumz1-1/+2
while integrating the old 'getSqrt()' function into the 'bsqrt()' function i misplaced some code. this lead to 'r' being 0 on the first run. doh.
2010-09-17request explicitly as many elements for the gradient tables as we needMathias Gumz1-16/+6
the next step is to not use 'unsigned int' and then only store 'chars' in it, maybe even using RGBA data instead of separated arrays for r, g and b.
2010-09-17lots of code cleanup, reordering, trimming public API, bugfixesMathias Gumz1-657/+777
## FbTk/ImageControl.hh: * moved 'getSqrt()' over to TextureRender.cc because it is used only there * removed unused members m_root_window * use std::vector<> for colors and for the gradient buffers. ## FbTk/ImageControl.cc: * fixed memory leak in '~ImageControl', 'pixels' where not deleted[] at all. switched to std::vector, non-issue anymore. * moved identical code into functions 'allocateUnallocatedColors', 'initColortables' ## FbTk/TextureRenderer: * removed 'from', 'to', 'interlaced' from class, only used in 'renderGradient()' and are actually part of the given texture. * removed 'xtable', 'ytable' from class, only used in 'renderGradient()' * removed 'colors' from the class, is part of 'control' * moved render actions (invert, bevel1, bevel2, *gradient), they need more love but for now this is sufficient
2010-05-23mostly cosmetic fixes, mainly discovered by 'clang --analyze'Mathias Gumz1-1/+1
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints.
2008-06-26remove dithering codeMark Tiefenbruck1-271/+3
2008-04-21some fixes for gcc 3.4Thomas Orgis1-1/+1
2008-01-15split Text.hh into Orientation.hh and TextUtils.{cc,hh}Mathias Gumz1-0/+1
2008-01-14moved code a bit around, cleaned up some classesMathias Gumz1-0/+1
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30remove some (hopefully) unneeded header includesMark Tiefenbruck1-0/+2
2007-06-29updates for compiling with gcc 4.3markt1-0/+5
2006-10-30Cosmetic patch from Slava Semushinmathias1-50/+55
2006-06-21fix nls... notably classify text on conversion whether its for X or simonb1-10/+10
console, plus handle catalogs better.
2006-03-26rotated fonts, buttons, containers. Used for tabs for nowsimonb1-6/+20
2006-03-20minor type-o fix, thanks Semushin Slavafluxgen1-5/+5
2006-02-16updated copyright infomathias1-1/+1
2005-09-03texture limits were hardcoded to 3200 in TextureRender.cc .. this leadmathias1-4/+7
to useless warnings on huge xinerama setups with those nifty 20' or bigger lcds ... we use now screen dimensions to set a sane limit for textures
2005-01-24copyright datemathias1-1/+1
2005-01-11fix for #1099278mathias1-3/+3
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-10-25i forgot to remove a silly warning :)akir1-2/+1
2004-10-21fix for mipspro: no 'new(nothrow)' available for MIPSpro Compilers: Version ↵akir1-10/+24
7.3.1.3m
2004-10-06tiny forgotten thingy from the MAN :)akir1-1/+3
2004-10-06allocate red, green and blue buffers only for gradientsfluxgen1-33/+40
2004-08-31add autoconf check for std c++ headersrathnor1-2/+6
2004-07-05tiled pixmap fix, patch from dhx (xyx@gm...), see mailing listfluxgen1-4/+8
2004-06-07update NLS string handling...rathnor1-11/+20
2004-01-21nothrowfluxgen1-5/+5
2004-01-21minor stufffluxgen1-9/+8
2004-01-11cleaning, using FbPixmapfluxgen1-70/+60
2003-10-02address some memory issues shown up with valgrindrathnor1-4/+4
2003-08-12added TILED optionfluxgen1-2/+5
2003-04-28render scaled pixmapfluxgen1-9/+22
2003-01-10removed i18nfluxgen1-27/+6
2003-01-09moved from fluxbox to fbtkfluxgen1-0/+1791