A load of work on the system, seams a lot is broken.
This commit is contained in:
parent
d8e6e88797
commit
598badc375
17 changed files with 268 additions and 53 deletions
|
@ -151,11 +151,11 @@ public class ElementListBox extends ElementBase {
|
|||
int nextElement = _firstIndexDisplayed;
|
||||
|
||||
glPushMatrix();
|
||||
glDisable(GL_LIGHTING);
|
||||
//glDisable(GL_LIGHTING);
|
||||
|
||||
glEnable(GL_STENCIL_TEST);
|
||||
glClear(GL_STENCIL_BUFFER_BIT);
|
||||
drawStencil(getContentLeft(), getContentTop(), getContentRight(), getContentBottom(), 1);
|
||||
//glEnable(GL_STENCIL_TEST);
|
||||
//glClear(GL_STENCIL_BUFFER_BIT);
|
||||
//drawStencil(getContentLeft(), getContentTop(), getContentRight(), getContentBottom(), 1);
|
||||
|
||||
glTranslated(-scrollHoriz, 0, 0);
|
||||
|
||||
|
@ -169,7 +169,7 @@ public class ElementListBox extends ElementBase {
|
|||
heightDrawn += _elements.get(nextElement).getHeight();
|
||||
nextElement++;
|
||||
}
|
||||
glDisable(GL_STENCIL_TEST);
|
||||
//glDisable(GL_STENCIL_TEST);
|
||||
glPopMatrix();
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ public class ElementTextField extends ElementBase
|
|||
protected boolean smartCaret = true;
|
||||
protected boolean smartCaretCase = true;
|
||||
|
||||
protected boolean enableStencil = true;
|
||||
protected boolean enableStencil = false;
|
||||
|
||||
public ElementTextField(GuiBase gui, int posX, int posY, int width, int height)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue