* BUG: Compute the framerate differently and more accurately.
* BUG: Framerate limitation is more accurate now.
* NEW: Window.Framerate property is a Float number now.
* NEW: Manage the WAIT instruction.
* NEW: The event loop can ignore input events, as requested by the WAIT
instruction, when it is called with no argument.
git-svn-id: svn://localhost/gambas/trunk@3772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Implement Image.PaintImage().
[GB.IMAGE.IO]
* NEW: Loaded image are returned in the preferred format, as specified by
gb.qt4, gb.gtk or gb.sdl.
[GB.SDL]
* BUG: Do not define the foreground color before drawing an image. It seems
useless, isn't it?
* BUG: Fix a case mistake in the "Deactivate" event.
git-svn-id: svn://localhost/gambas/trunk@3746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use now defaut BGRA image format internally, should avoid conversion when
using with a majority of gb.image.xxxx components.
* BUG: Add missing defaut Image format declaration.
git-svn-id: svn://localhost/gambas/trunk@3743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Now Joysticks events are part of the Window class.
* BUG: Joysticks events are managed like keyboard events. They are only raised when the
Window got keyboard input focus.
git-svn-id: svn://localhost/gambas/trunk@3738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add Joystick.Index property, which returns the joystick's index (similar than
Joysticks class)
* BUG: Cleanup Joystick class interface (again).
git-svn-id: svn://localhost/gambas/trunk@3720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Window.Resizable property works correctly now.
* NEW: Windows are resizable by default like in gb.qt4 or gb.gtk.
git-svn-id: svn://localhost/gambas/trunk@3719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove Fixed and Resizable constants from Window class, Window.Border property is now renamed
in Window.Resizable use a boolean like gb.qt4 component.
git-svn-id: svn://localhost/gambas/trunk@3717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Now Joystick class can manage hats and balls.
* NEW: Joystick's device that raised the event is available with Joystick.Device property.
git-svn-id: svn://localhost/gambas/trunk@3707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Joysticks class, to enumerate destected joysticks.
* NEW: Joystick class, to get events and infos from a joystick.
git-svn-id: svn://localhost/gambas/trunk@3705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New API to return the Gambas installation path.
[GB.SDL]
* BUG: Use the Gambas installation path to find the default font.
git-svn-id: svn://localhost/gambas/trunk@3684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove deprecated support for Xft library.
First steps for drawing on Image with OpenGL, but currently disabled because it's buggy and doesn't work.
git-svn-id: svn://localhost/gambas/trunk@3667 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Removed support for system font, as it'snt really stable and working well.
* NEW: Now Font class use a default TTF font, DejaVuSans.ttf
git-svn-id: svn://localhost/gambas/trunk@3340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a compilation warning on 32 bits systems.
[GB.SDL]
* BUG: Fix a function that was not returning any value.
git-svn-id: svn://localhost/gambas/trunk@3239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove Font.Strikeout property as it's only available in SDL_tff>2.0.9
git-svn-id: svn://localhost/gambas/trunk@3226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a typo that result in a segfault, optimize code a little bit.
git-svn-id: svn://localhost/gambas/trunk@3209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Print a summary of warning messages after each component
compilation.
[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an
internal closure is created with the libffi library. The pointer then can
be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.
git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New API for marking an image as modified, and for synchronizing it
before reading it, when the temporary image owner needs it.
git-svn-id: svn://localhost/gambas/trunk@3016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: More work on system fonts, now system is correctly displayed.
git-svn-id: svn://localhost/gambas/trunk@3014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove libsdl_image dependency, now Image class relies completly on the
gb.image.io component to load images.
Less dependencies is always better.
git-svn-id: svn://localhost/gambas/trunk@3011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add locking/unlocking internal api hooks, allowing Image class to be sure image is synced/locked
to get correct access to image datas, and tag if image is altered.
git-svn-id: svn://localhost/gambas/trunk@3010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove buggy code, now interlacing line and image drawing work.
git-svn-id: svn://localhost/gambas/trunk@2994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New methods Font.Width() and Font.Height(), to retreive respectivly
widht and height of text.
Now a default font (system font) is opened with New method,
but nothing is rendered yet.
git-svn-id: svn://localhost/gambas/trunk@2993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Disable line smoothing, as there is problem with intel driver.
A line of width equal to 1.0 isn't displayed with smoothing enabled.
git-svn-id: svn://localhost/gambas/trunk@2985 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Loading font through Font.Load() method and displaying it
with Draw.Text() method
* NEW: Draw.Rotate() and Draw.Scale() to respectivly rotate and scale
images and fonts when displaying them.
* NEW: Draw.ForeColor() affect image displayed too.
* OPT: Some optimizations.
git-svn-id: svn://localhost/gambas/trunk@2958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new mascot to draw project directory icon.
[EXAMPLES]
* NEW: Some little changes in the Painting example.
[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an
unloading order. The higher the returned number, the later the component
is unloaded. If GB_INIT returns -1, then the component shared library
will not be unloaded.
* NEW: Update GB_INIT functions in all components.
[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted
anymore.
[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.
git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add --install glag to autoreconf, that fix creation of config files,
also add build-dist script to create a lighter tar.bz2 archive of the
repository.
git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove running SDL events in a separate thread, as it give instability.
git-svn-id: svn://localhost/gambas/trunk@2512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* New: Add dependency to gb.image.io, so images can be saved through Image.Save() method.
git-svn-id: svn://localhost/gambas/trunk@2290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove the Image.Resize method that cannot work. Let use the resize
method from the gb.image component.
git-svn-id: svn://localhost/gambas/trunk@2272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: remove color management from gb.sdl component, as now it follow gb.image component color sheme.
It save some memory bytes, and do less code to maintain.
git-svn-id: svn://localhost/gambas/trunk@2250 867c0c6c-44f3-4631-809d-bfa615b0a4ec