Mercurial > dwindows
comparison win/dw.c @ 2096:5110598705c2
Win: Need BUILD_DLL in addition to BUILD_HTML to check HTML support.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 11 Jun 2020 05:08:36 +0000 |
parents | 95b9c7780f3f |
children | 6608fc7f6465 |
comparison
equal
deleted
inserted
replaced
2095:a3e176450077 | 2096:5110598705c2 |
---|---|
13363 */ | 13363 */ |
13364 int API dw_feature_get(DWFEATURE feature) | 13364 int API dw_feature_get(DWFEATURE feature) |
13365 { | 13365 { |
13366 switch(feature) | 13366 switch(feature) |
13367 { | 13367 { |
13368 #ifdef BUILD_HTML | 13368 #if (defined(BUILD_DLL) || defined(BUILD_HTML)) |
13369 case DW_FEATURE_HTML: | 13369 case DW_FEATURE_HTML: |
13370 case DW_FEATURE_HTML_RESULT: | 13370 case DW_FEATURE_HTML_RESULT: |
13371 #endif | 13371 #endif |
13372 #ifdef AEROGLASS | 13372 #ifdef AEROGLASS |
13373 case DW_FEATURE_WINDOW_TRANSPARENCY: | 13373 case DW_FEATURE_WINDOW_TRANSPARENCY: |
13407 int API dw_feature_set(DWFEATURE feature, int state) | 13407 int API dw_feature_set(DWFEATURE feature, int state) |
13408 { | 13408 { |
13409 switch(feature) | 13409 switch(feature) |
13410 { | 13410 { |
13411 /* These features are supported but not configurable */ | 13411 /* These features are supported but not configurable */ |
13412 #ifdef BUILD_HTML | 13412 #if (defined(BUILD_DLL) || defined(BUILD_HTML)) |
13413 case DW_FEATURE_HTML: | 13413 case DW_FEATURE_HTML: |
13414 case DW_FEATURE_HTML_RESULT: | 13414 case DW_FEATURE_HTML_RESULT: |
13415 #endif | 13415 #endif |
13416 #ifdef AEROGLASS | 13416 #ifdef AEROGLASS |
13417 case DW_FEATURE_WINDOW_TRANSPARENCY: | 13417 case DW_FEATURE_WINDOW_TRANSPARENCY: |