CGfxWrapeGML* pkWrap = dynamic_cast<CGfxWrapeGML*>(&GETGFX);
if (NULL != pkWrap)
{
eGML_Screen* pkScreen = pkWrap->GetScreen();
unsigned short* memory = (unsigned short*)pkScreen->Lock();
eC_UInt uiWidth = pkScreen->GetWidth();
eC_UInt uiHeight = pkScreen->GetHeight();
memset(memory, 0xf1, uiWidth * uiHeight);
for (eC_UInt y = 0; y < uiHeight; ++y)
{
for (eC_UInt x = 0; x < uiWidth; ++x)
{
unsigned short val = memory[y * uiWidth + x];
memory[y * uiWidth + x] = (val + (x * y)) & 0xffff;
}
}
pkScreen->Unlock();
// pkScreen->DrawLine(eGML_Vector2(0, 0), eGML_Vector2(10, 10), 0xff004400, 0, 1, 1);
}
----------------
# ========== CustomExtensions ==========
FILE(GLOB CUSTOMEXTENSIONS_CPP "${GSE_ROOT_PATH_STREAMRUNTIME}/Source/CustomExtension/*.cpp")
SOURCE_GROUP("Source Files\\Custom Extension" FILES ${CUSTOMEXTENSIONS_CPP})
FILE(GLOB CUSTOMEXTENSIONS_H "${GSE_ROOT_PATH_STREAMRUNTIME}/Include/CustomExtension/*.h")
SOURCE_GROUP("Header Files\\Custom Extension" FILES ${CUSTOMEXTENSIONS_H})
SET(CUSTOM_EXTENSIONS_LIST
${CUSTOMEXTENSIONS_CPP}
${CUSTOMEXTENSIONS_H}
${GSE_GUICONFIG_CPP}
)
ADD_LIBRARY(CustomExtensions STATIC ${CUSTOM_EXTENSIONS_LIST})
SET_TARGET_PROPERTIES(CustomExtensions PROPERTIES COMPILE_DEFINITIONS "${PREPROCESSOR_DEFINES}")
----------------------------
https://welovewp.com/how-to-audit-your-user-interface-design/
https://www.webdesignerdepot.com/2015/02/the-best-free-ui-kits-february-2015/
https://visual.ly/community/infographic/other/10-commandments-user-interface-design
https://www.componentsource.com/news/feature-releases/2015/10/28/gui-design-studio
https://www.appcues.com/blog/30-awesome-free-ui-vector-kits-for-your-mockups-and-wireframes
designmodo.github.io/Flat-UI/
https://mashable.com/2013/07/29/flat-design-ui-kits/?europe=true
- auto-stretch for text
- invalidate layout after resizing
- calendar-widget
- rating-slider (bargraph)
- multiedge-slider