Revision 669123

Go back to digest for 3rd June 2007

Features in Office

Adrian Page committed changes in /trunk/koffice/krita:

- Add an OpenGL shader live preview to the gradient tool. This displays the gradient you will paint as you drag the cursor around. The preview is overlaid on the image with a configurable opacity. A further step will be to use the shaders to render the gradient itself.
- Add KisConfigNotifier. This emits a signal when the configuration settings change, allowing things to adjust to the new settings.
- Fix the assert on creating a new view by not unlocking the already unlocked image.

File Changes

Added 10 files
  • /trunk/koffice/krita
  •   /ui/kis_config_notifier.cpp
  •   /ui/kis_config_notifier.h
  •   /ui/kis_opengl_gradient_program.cpp
  •   /ui/kis_opengl_gradient_program.h
  •   /data/shaders/bilinear_gradient.frag
  •   /data/shaders/conical_gradient.frag
  •   /data/shaders/conical_symetric_gradient.frag
  •   /data/shaders/linear_gradient.frag
  •   /data/shaders/radial_gradient.frag
  •   /data/shaders/square_gradient.frag
Modified 13 files
  • /trunk/koffice/krita
  •   /image/
  •   /ui/CMakeLists.txt
  •   /ui/kis_canvas2.cpp
  •   /ui/kis_canvas2.h
  •   /ui/kis_opengl_canvas2.cpp
  •   /ui/kis_opengl_canvas2.h
  •   /ui/kis_opengl_image_textures.cpp
  •   /ui/kis_opengl_program.cpp
  •   /ui/kis_opengl_program.h
  •   /ui/kis_view2.cpp
  •   /data/shaders/CMakeLists.txt
  •   /plugins/tools/defaulttools/
  •   /plugins/tools/defaulttools/kis_tool_gradient.h
23 files changed in total