#include "GL/glui.h"
#include "glui_internal.h"
#include <cassert>
Variables | |
| unsigned char | glui_img_checkbox_0 [] |
| unsigned char | glui_img_checkbox_1 [] |
| unsigned char | glui_img_radiobutton_0 [] |
| unsigned char | glui_img_radiobutton_1 [] |
| unsigned char | glui_img_uparrow [] |
| unsigned char | glui_img_downarrow [] |
| unsigned char | glui_img_leftarrow [] |
| unsigned char | glui_img_rightarrow [] |
| unsigned char | glui_img_spinup_0 [] |
| unsigned char | glui_img_spinup_1 [] |
| unsigned char | glui_img_spindown_0 [] |
| unsigned char | glui_img_spindown_1 [] |
| unsigned char | glui_img_checkbox_0_dis [] |
| unsigned char | glui_img_checkbox_1_dis [] |
| unsigned char | glui_img_radiobutton_0_dis [] |
| unsigned char | glui_img_radiobutton_1_dis [] |
| unsigned char | glui_img_spinup_dis [] |
| unsigned char | glui_img_spindown_dis [] |
| unsigned char | glui_img_listbox_up [] |
| unsigned char | glui_img_listbox_down [] |
| unsigned char | glui_img_listbox_up_dis [] |
| unsigned char * | bitmap_arrays [] |
|
|
|
Bitmaps for all GLUI images. These were converted from original PPM images (mostly lost) with the tools/ppm2array program. The images here are extracted in typical OpenGL bottom-to-top fashion. FIXME: don't use greyscale brightness here--this prevents people changing the background color. Instead, use a code indicating the underlying purpose of the pixel: 0 = shadows; outlines; UI elements (check boxes, arrows) 64 = disabled shadows and UI elements 128 = shadowing, disabled 192 = disabled white; background 255 = highlights; checkbox/radio background I'm thinking the way to do this would be to have an enum { BG = 0, // Background shines through-- totally alpha transparent BS, // Background of scrollbar/spin box-- opaque gray SB, // Shadowed-black element-- strong alpha blend to black SD, // Shadowed-dark element-- weak alpha blend to black HL, // Highlight-light-- weak alpha blend to white HW, // Highlight-white-- strong alpha blend to white UB, // User-interface black-- arrows, checkboxes, radio buttons UW, // User-interface white-- backgrounds of checkboxes and radio buttons }; Orion Sky Lawlor, olawlor@acm.org, 2006/05/04 (LGPL) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6