Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   External window bugs on Windows (https://forums.graalonline.com/forums/showthread.php?t=79645)

zokemon 05-06-2008 05:59 AM

External window bugs on Windows
 
Here's some of the bugs that I've found while using external windows. Keep in mind that I am on Windows so these bugs might not all be true for Mac or Linux users.
  • GuiShowImg Polygons - These don't work. When you set the polygon variable, the gui object just doesn't display anything. I tried this with both textured (with an image) polygons as well as single color polygons. Drawing of lines (size 4 array) doesn't work either.
  • Gui Alpha - I've noticed some of the Gui object types are not effected by their alpha variables. Most notably are GuiDrawingPanels. I've also seen this on GuiButtonCtrls but haven't tested it on any others.

Skyld 05-06-2008 09:24 AM

The external GUI windows on Windows are framebuffer, as opposed to OpenGL/DirectX, which would explain why GUI alpha doesn't work. Wondering whether this is also the reason for the polygon problem.

Robin 05-06-2008 11:54 AM

Quote:

Originally Posted by Skyld (Post 1389281)
The external GUI windows on Windows are framebuffer, as opposed to OpenGL/DirectX, which would explain why GUI alpha doesn't work. Wondering whether this is also the reason for the polygon problem.

It will definitely be the reason if he is using opengl/directx polygon functions to draw them, however there is a way to get this working with directx (as it has support for the windows GDI) by first creating an offscreen buffer, rendering to that and then rendering back.

zokemon 05-07-2008 01:45 AM

It's because both of these things are done using the old Delphi code. Stefan said he needed to convert a lot of the drawing stuff to C++ to work with DirectX and such.

I only posted this thread for the record, really.


All times are GMT +2. The time now is 12:34 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.