Fixed alpha transparency on Haiku, or so it seems. Assorted other notes too.
This commit is contained in:
parent
a7aa50ae2c
commit
980b93381b
|
@ -79,6 +79,11 @@ uiArea *uiNewArea(uiAreaHandler *ah)
|
|||
a->area->a = a;
|
||||
// TODO background color
|
||||
|
||||
// this is needed for alpha transparency (thanks mmu_man in irc.freenode.net/#haiku)
|
||||
// unfortunately TODO it kills the other compositing modes
|
||||
// (remember that if we ever drop Windows 7 we can use those)
|
||||
a->area->SetDrawingMode(B_OP_ALPHA);
|
||||
|
||||
uiHaikuFinishNewControl(a, uiArea);
|
||||
|
||||
return a;
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
#include "uipriv_haiku.hpp"
|
||||
using namespace std;
|
||||
|
||||
// TODO alpha doesn't work
|
||||
|
||||
struct uiDrawPath {
|
||||
BShape *shape;
|
||||
uiDrawFillMode fillMode;
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
// - FOS_SUPPORTSTREAMABLEITEMS doesn't seem to be supported on windows vista, or at least not with the flags we use
|
||||
// - even with FOS_NOVALIDATE the dialogs will reject invalid filenames (at least on Vista, anyway)
|
||||
|
||||
// TODO
|
||||
// - http://blogs.msdn.com/b/wpfsdk/archive/2006/10/26/uncommon-dialogs--font-chooser-and-color-picker-dialogs.aspx
|
||||
|
||||
char *commonItemDialog(REFCLSID clsid, REFIID iid, FILEOPENDIALOGOPTIONS optsadd)
|
||||
{
|
||||
IFileDialog *d;
|
||||
|
|
Loading…
Reference in New Issue