Small bugfixes.
commit194e5335d55e2af36ed62c52a217c1f4dee49df1
authordwk <dwks@theprogrammingsite.com>
Sat, 17 May 2008 16:34:41 +0000 (17 12:34 -0400)
committerdwk <dwks@theprogrammingsite.com>
Sat, 17 May 2008 16:34:41 +0000 (17 12:34 -0400)
treeb3c3c0b6405362822c55461f0eb13ec7ddbdb082
parent08eef76a0167c17a9d20c569d7c8fce1e195f2ed
Small bugfixes.

- Empty textboxes now display cursors
    - get_label_image_pos() was re-written -- it now takes sensible parameters,
        and uses font_height() instead of the height of rendered SDL_Surfaces
    - This allows empty textboxes to have cursors, even though they do not
        have rendered SDL_Surfaces

- When a character only partially visible is selected in a textbox, the
    textbox scrolls so that this character is fully visible

- xuni no longer crashes with libfreetype6 2.3.5-1+b1 with font point size 1
    (the smallest possible point size has been made 2)

- Images are now rotated and then rescaled
    - Scrollbar buttons look much better now

- Listboxes now clip very well (though it remains a temporary solution)
TODO
src/gui.c
src/widget/font.c
src/widget/image.c
src/widget/label.c
src/widget/listbox.c