File: README.md

package info (click to toggle)
witty 3.3.3%2Bdfsg-4.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,228 kB
  • ctags: 26,694
  • sloc: cpp: 147,809; ansic: 77,999; xml: 16,331; sh: 1,303; makefile: 198; java: 86; sql: 14
file content (21 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
style example
-------------

This example creates a new widget (`RoundedWidget`) which adds rounded
corners to a child widget, using images that are rendered on the fly
with the painting API.

This example is a bit dated since CSS3 now includes rounded corners
which are already broadly supported across browsers.

How to run
----------

See the README in the parent directory.

What it illustrates
-------------------

- how to use `WCompositeWidget` to define new widgets
- how to use `WResource` for on-the-fly generated images
- how to use `WRasterImage` with the painting API for painting raster images.