ya2
·
news
·
projects
·
code
·
about
Ya2
/
projects
/
pmachines.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
housekeeping: ya2 module
[pmachines.git]
/
ya2
/
utils
/
gui.py
1
from
panda3d
.
core
import
load_prc_file_data
2
from
ya2
.
utils
.
gfx
import
Point
3
4
class
GuiTools
:
5
6
@staticmethod
7
def
no_window
():
8
load_prc_file_data
(
''
,
'window-type none'
)
9
10
@staticmethod
11
def
get_mouse
():
12
return
Point
(
base
.
mouseWatcherNode
.
get_mouse
())