diff options
author | Ton Roosendaal <ton@blender.org> | 2009-04-20 15:39:18 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-04-20 15:39:18 +0400 |
commit | bc061594311b5444e34bb14e47a12b7467046f67 (patch) | |
tree | bd9d1f7e4d8c9e070cdb9124a25b332b56a8efed /source/blender/windowmanager/WM_api.h | |
parent | 4b45c57bb6fe974f30e62a226a587a4db4c17375 (diff) |
2.5
Fixes:
- HSV picker didn't work. Old option "No Hilite" for buttons made it not
being checked for input anymore. Needs to be on attention list!
- Node editor wasn't drawing buttons correctly. Two things to keep track
off:
- Use wmLoadIdentity(), not glLoadIdentity()
- I've added a wmPushMatrix() and wmPopMatrix() version for correct
wm-compatible push/pop. Only one level for now.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index b40b8e93150..1b5b2e0acbc 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -183,6 +183,8 @@ void wmMultMatrix (float mat[][4]); void wmGetSingleMatrix (float mat[][4]); void wmScale (float x, float y, float z); void wmLoadIdentity (void); /* note: old name clear_view_mat */ +void wmPushMatrix (void); /* one level only */ +void wmPopMatrix (void); /* one level only */ void wmFrustum (float x1, float x2, float y1, float y2, float n, float f); void wmOrtho (float x1, float x2, float y1, float y2, float n, float f); |