Mercurial > fife-parpg
view tools/editor/gui/lightedit.xml @ 579:b2feacaed53c
* Added the colorbuffer patch with a small change due to SDL. Performance boost between 20-30% under OpenGL.
* Improved the most renderers with setColor() function.
* Fixed the genericrenderer, is now tested whether the images are in the viewport.
* Fixed the gridrenderer, the grid is now drawn only up to the viewport.
* Changed the vertex functions in opengl/renderbackendopengl.cpp from vertex3f() to vertex2f().
* Improved the Editor, now you can use blocking, grid and coordinate renderer over gui or keys. Additionally, the colors can be changed with the settings.xml.
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 31 Jul 2010 17:46:19 +0000 |
parents | 64738befdf3b |
children | 60621d858548 |
line wrap: on
line source
<Panel title="Light editor" position="10,700"> <Label text="RGB values (float)" /> <HBox> <Label text="R" /> <TextBox text="1.0" name="value_R" min_size="20,20"/> <Button text="+" name="increase_R" /> <Button text="-" name="decrease_R" /> </HBox> <HBox> <Label text="G" /> <TextBox text="1.0" name="value_G" min_size="20,20"/> <Button text="+" name="increase_G" /> <Button text="-" name="decrease_G" /> </HBox> <HBox> <Label text="B" /> <TextBox text="1.0" name="value_B" min_size="20,20"/> <Button text="+" name="increase_B" /> <Button text="-" name="decrease_B" /> </HBox> <HBox> <Label text="A" /> <TextBox text="1.0" name="value_A" min_size="20,20"/> <Button text="+" name="increase_A" /> <Button text="-" name="decrease_A" /> </HBox> <VBox> <ToggleButton text="Enable" name="enable_global_light" /> <Button text="Random" name="random_global_light" /> <Button text="Reset" name="reset_global_light" /> </VBox> </Panel>