|
|
(27 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <nowiki>
| + | <!-- |
− | 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();
| + | https://developers.google.com/speed/webp/docs/riff_container |
− | eC_UInt uiHeight = pkScreen->GetHeight();
| + | https://chromium.googlesource.com/webm/libvpx |
| | | |
− | memset(memory, 0xf1, uiWidth * uiHeight);
| + | vera++ -> checkstlye output -> warnings next generation (input as logfile) |
− | 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();
| + | google code stylguide |
| + | https://google.github.io/styleguide/cppguide.html |
| | | |
− | // pkScreen->DrawLine(eGML_Vector2(0, 0), eGML_Vector2(10, 10), 0xff004400, 0, 1, 1); | + | google styleguide cpplint |
− | }
| + | https://github.com/google/styleguide |
| | | |
− | ---------------- | + | find bugs plugin -> warnings next generation |
| | | |
− | eC_Bool ExampleBehaviour::DoClick(
| + | tags (e.g. TODO, FIXME, ...) can be found and listed |
− | const eC_Value &vAbsX,
| |
− | const eC_Value &vAbsY)
| |
− | {
| |
− | if (
| |
− | (m_eContainer != NO_HANDLE) &&
| |
− | (m_eTargetObject != NO_HANDLE)
| |
− | )
| |
− | {
| |
− | CGUICompositeObject* pkContainer = dynamic_cast<CGUICompositeObject*>(GETGUI.GetObjectByID(m_eContainer));
| |
− | if (NULL != pkContainer)
| |
− | {
| |
− | for (eC_UInt uiChild = 0; uiChild < pkContainer->GetNumberOfChildren(); ++uiChild)
| |
− | {
| |
− | CGUIObject* pkCurrentChild = pkContainer->GetChild(uiChild);
| |
− | if (pkCurrentChild->GetID() == m_eTargetObject)
| |
− | pkCurrentChild->SetInvisible(false);
| |
− | else
| |
− | pkCurrentChild->SetInvisible(true);
| |
− | }
| |
− | }
| |
− | }
| |
− | return true;
| |
− | }
| |
| | | |
− | ------------------ | + | --> |
− | 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
| |
− | | |
− | | |
− | </nowiki>
| |