Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
bacf689e
Commit
bacf689e
authored
Dec 14, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge optionmenu and menu bugfix, key events and exposure events was lost
parent
375ac746
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
xtt/lib/glow/src/glow_growctx.cpp
xtt/lib/glow/src/glow_growctx.cpp
+12
-0
No files found.
xtt/lib/glow/src/glow_growctx.cpp
View file @
bacf689e
...
...
@@ -265,12 +265,24 @@ int GrowCtx::event_handler( glow_eEvent event, int x, int y, int w, int h)
case
glow_eEvent_MB1Down
:
case
glow_eEvent_MB1Up
:
case
glow_eEvent_MB1Click
:
case
glow_eEvent_Key_Return
:
sts
=
a
[
a
.
a_size
-
1
]
->
event_handler
(
&
mw
,
event
,
x
,
y
,
fx
,
fy
);
if
(
sts
==
GLOW__TERMINATED
||
sts
==
GLOW__DESTROYED
)
return
sts
;
else
if
(
sts
)
return
1
;
break
;
case
glow_eEvent_Key_Right
:
case
glow_eEvent_Key_Left
:
case
glow_eEvent_Key_Up
:
case
glow_eEvent_Key_Down
:
case
glow_eEvent_Key_BackSpace
:
case
glow_eEvent_Key_Tab
:
case
glow_eEvent_Key_ShiftTab
:
case
glow_eEvent_Key_Escape
:
case
glow_eEvent_Key_Ascii
:
case
glow_eEvent_Exposure
:
break
;
default:
;
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment