WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelog
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.
Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. Examples
  4. GfxText.h
Mission NodeSDK 6.3C++renderingProject Included

GfxText.h

Example: GfxText.h

Examples / SDK 6.3 / C++ / rendering / GFX Engine - Text / project / src
GfxText.h
CPP
1// This header file is generated by WOWCube SDK project wizard
2#pragma once
3
4#include "Gfx.h"
5#include <vector>
6#include <string>
7
8enum GfxObjects
9{
10 myBackground=0,
11 myText,
12 myText2,
13 myText3
14};
15
16class GfxText: public Cubios::Application
17{
18public:
19 GfxText();
20 virtual ~GfxText();
21
22 virtual void on_PhysicsTick(const std::array<Cubios::Screen, 3>& screens) override;
23 virtual void on_Twist(const Cubios::TOPOLOGY_twistInfo_t& twist) override;
24 virtual void on_Message(uint32_t type, uint8_t* pkt, u32_t size) override;
25 virtual void on_ExternalMessage(uint8_t* pkt, u32_t size) override;
26 virtual void on_Pat(uint32_t count) override;
27 virtual void on_Render(std::array<Cubios::Screen, 3>& screens) override;
28 virtual void on_Tick(uint32_t currentTime, uint32_t deltaTime) override;
29 virtual void on_Timer(uint8_t timerID) override;
30
31 void InitializeResources();
32
33private:
34 std::vector<std::string> words;
35 float a;
36 int currWord;
37};
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.
Context Rail

Project files

GfxText.cpp
project/src/GfxText.cpp
GfxText.h
project/src/GfxText.h
wowcubeapp-build.json
project/wowcubeapp-build.json
Context Rail

Related nodes

GfxText.cpp
Examples / SDK 6.3 / C++ / rendering / GFX Engine - Text / project / src
GFX Engine - Text
Examples / SDK 6.3 / C++ / rendering
info.json
Examples / SDK 6.3 / C++ / rendering / GFX Engine - Text
wowcubeapp-build.json
Examples / SDK 6.3 / C++ / rendering / GFX Engine - Text / project
Previous Node
GfxText.cpp
Examples / SDK 6.3 / C++ / rendering / GFX Engine - Text / project / src
Next Node
wowcubeapp-build.json
Examples / SDK 6.3 / C++ / rendering / GFX Engine - Text / project