Commit graph

23 commits

Author SHA1 Message Date
Mathias Gumz
e84c64f7be lots of code cleanup, reordering, trimming public API, bugfixes
## 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-09-17 15:34:12 +02:00
Henrik Kinnunen
91408776f0 Fixed a pixmap resource leak with selected pixmap in menus.
menu.hilite.selected.pixmap and menu.selected.pixmap was not
deleted while switching between non-pixmap styles and pixmap styles.
2008-09-14 21:36:16 +02:00
Mark Tiefenbruck
c492daf2d9 remove dithering code 2008-06-26 12:41:43 -07:00
Mathias Gumz
f6c292a406 split Text.hh into Orientation.hh and TextUtils.{cc,hh} 2008-01-15 08:45:57 +01:00
Mathias Gumz
e1db89e2d7 moved code a bit around, cleaned up some classes 2008-01-14 23:27:00 +01:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Mathias Gumz
04cd2fd14c removed some unneeded headers 2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
4cc810b0d3 remove some (hopefully) unneeded header includes 2007-12-29 22:44:11 -08:00
Mathias Gumz
e1f362ae76 'inline' in class declaration is implicitly inline 2007-12-29 22:38:53 +01:00
markt
c18985732b more dead functions 2006-07-01 03:32:53 +00:00
markt
698539d9b9 more dead functions 2006-07-01 02:56:46 +00:00
simonb
af74a22845 rotated fonts, buttons, containers. Used for tabs for now 2006-03-26 04:02:30 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
fluxgen
bb6b80e4e4 inline 2004-01-21 14:16:02 +00:00
fluxgen
135579a9bf back to std list until we get std set working again 2004-01-11 12:40:47 +00:00
fluxgen
a5be2ef67d textured pixmap cache fix 2004-01-02 22:19:39 +00:00
fluxgen
85d572ee7e fixed cache bug 2004-01-02 13:27:29 +00:00
fluxgen
72b878f78c fixed some icc warnings 2003-12-16 17:06:52 +00:00
rathnor
018665d7a3 drawing optimisations and fixes 2003-10-09 16:48:09 +00:00
fluxgen
98013ee6f7 minor cleaning 2003-08-18 11:37:15 +00:00
fluxgen
2e4b09e37c using new timer command 2003-08-11 15:59:49 +00:00
fluxgen
a11f4f512a minor fix 2003-05-16 00:19:51 +00:00
fluxgen
7dd4823340 moved from fluxbox to fbtk 2003-01-09 21:09:49 +00:00