Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netrunner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Odilitime
netrunner
Commits
9858ce56
Commit
9858ce56
authored
7 years ago
by
Odilitime
Browse files
Options
Downloads
Patches
Plain Diff
move window into property, fix includes
parent
c79b2202
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/graphics/components/InputComponent.h
+5
-0
5 additions, 0 deletions
src/graphics/components/InputComponent.h
with
5 additions
and
0 deletions
src/graphics/components/InputComponent.h
+
5
−
0
View file @
9858ce56
...
...
@@ -5,6 +5,9 @@
#include
<string>
#include
"BoxComponent.h"
#include
"TextComponent.h"
#include
"../opengl/Window.h"
class
Window
;
class
InputComponent
:
public
BoxComponent
{
public:
...
...
@@ -22,6 +25,8 @@ public:
std
::
function
<
void
(
std
::
string
value
)
>
onEnter
=
nullptr
;
// needed for our shader's resizing
int
lastRenderedWindowHeight
;
// handle to signal that a redraw is needed, and access to shader programs
Window
*
win
;
};
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment