git-svn-id: svn://ultimatepp.org/upp/trunk@14337 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-04-20 08:41:10 +00:00
parent 3d21eb1d31
commit 16775ee428
3 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,9 @@
uses
CtrlLib;
file
main.cpp;
mainconfig
"" = "GUI";

View file

@ -0,0 +1,8 @@
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
GUI_APP_MAIN
{
DDUMP(GetDeviceCaps(GetDC(NULL), SHADEBLENDCAPS) & SB_PIXEL_ALPHA);
}

View file

@ -11,7 +11,7 @@ struct MyApp : TopWindow {
void Sync() {
double tm = (double)usecs();
imgb = GaussianBlur(img, ~radius, co);
imgb = Grayscale(img); // GaussianBlur(img, ~radius, co);
tm = (double)usecs() - tm;
Title(String() << tm << " us");
Refresh();