diff options
author | Ton Roosendaal <ton@blender.org> | 2004-07-11 01:35:17 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-07-11 01:35:17 +0400 |
commit | eac4e86539b4cba3d4756a86783037ed0b3bea38 (patch) | |
tree | f936dd72208ce6895e697353988ddd0ce1b5dbb0 /source/blender/include/BIF_interface.h | |
parent | d5272c665f17e39904a3c9fb3c58f1b8cca48300 (diff) |
Long on the todolist: a patch to have pointsize working on systems that
don't have them larger than 1, since vertices are drawn with it.
It is solved by patching code with minimal confusement. So you can get
automatic patched glPoints with:
bglBegin(GL_POINTS);
bglVertex3fv(vector);
bglEnd();
In glutil.c the wrapper can be found, that checks for maximum Pointsize,
and bypasses it to a glBitmap then.
Diffstat (limited to 'source/blender/include/BIF_interface.h')
-rw-r--r-- | source/blender/include/BIF_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h index 048417dff0a..30b79c09136 100644 --- a/source/blender/include/BIF_interface.h +++ b/source/blender/include/BIF_interface.h @@ -178,6 +178,9 @@ void uiFreeBlocksWin(struct ListBase *lb, int win); uiBlock *uiNewBlock(struct ListBase *lb, char *name, short dt, short font, short win); uiBlock *uiGetBlock(char *name, struct ScrArea *sa); +void uiBlockPickerButtons(struct uiBlock *block, float *col, float *hsv, float *old, char mode); + + /* automatic aligning, horiz or verical */ void uiBlockBeginAlign(uiBlock *block); void uiBlockEndAlign(uiBlock *block); |