diff options
author | Thomas Dinges <blender@dingto.org> | 2014-01-25 21:57:02 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-01-25 21:57:02 +0400 |
commit | f746d90398760b604c0b0037ab5d592dfd88c1ee (patch) | |
tree | 53b0d4a66f9b48fc29ae4bd84678f6783f693895 /intern/cycles/util/util_view.cpp | |
parent | 70e844ea11f3ed0c215bd667f668303ad55fd785 (diff) |
Cycles Standalone: Various changes
* Change Info in header, put more important info to the left
* API: Move Camera width/height to camera, add some film properties
* Add ESC key to help menu
Diffstat (limited to 'intern/cycles/util/util_view.cpp')
-rw-r--r-- | intern/cycles/util/util_view.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/intern/cycles/util/util_view.cpp b/intern/cycles/util/util_view.cpp index 1e8db0086f5..7a9019b0b0a 100644 --- a/intern/cycles/util/util_view.cpp +++ b/intern/cycles/util/util_view.cpp @@ -78,19 +78,19 @@ void view_display_help() { const int w = V.width / 1.15; const int h = V.height / 1.15; - + const int x1 = (V.width - w) / 2; const int x2 = x1 + w; - + const int y1 = (V.height - h) / 2; const int y2 = y1 + h; - + glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - glColor4f(0.4f, 0.4f, 0.4f, 0.8f); + glColor4f(0.5f, 0.5f, 0.5f, 0.8f); glRectf(x1, y1, x2, y2); glDisable(GL_BLEND); - + glColor3f(0.8f, 0.8f, 0.8f); view_display_text(x1+20, y2-20, "Cycles Renderer"); @@ -99,7 +99,8 @@ void view_display_help() view_display_text(x1+20, y2-100, "h: Toggle this help message"); view_display_text(x1+20, y2-120, "r: Restart the render"); view_display_text(x1+20, y2-140, "q: Quit the program"); - + view_display_text(x1+20, y2-160, "esc: Cancel the render"); + glColor3f(1.0f, 1.0f, 1.0f); } |