KOffice – TDE office suite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kis_texture_filter.h 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * kis_texture_filter.h -- Part of Chalk
  3. *
  4. * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org)
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. #ifndef _TEXTURE_FILTER_H
  21. #define _TEXTURE_FILTER_H
  22. #include <tqstring.h>
  23. #include <tdelocale.h>
  24. #include <kis_paint_device_action.h>
  25. /// Initializes a wet paint device with a texture
  26. class WetPaintDevAction : public KisPaintDeviceAction {
  27. public:
  28. virtual ~WetPaintDevAction() {}
  29. virtual void act(KisPaintDeviceSP device, TQ_INT32 w = 0, TQ_INT32 h = 0) const;
  30. virtual TQString name() const { return i18n("Wet Texture"); }
  31. virtual TQString description() const { return i18n("Add a texture to the wet canvas"); }
  32. };
  33. #endif // _TEXTURE_FILTER_H