Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8140 in orxonox.OLD for branches/gui/src


Ignore:
Timestamp:
Jun 4, 2006, 12:36:45 AM (19 years ago)
Author:
bensch
Message:

gui: shorter paths for different guis

Location:
branches/gui/src
Files:
8 edited
3 moved

Legend:

Unmodified
Added
Removed
  • branches/gui/src/defs/include_paths.am

    r7927 r8140  
    1212AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/render2D
    1313AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/particles
    14 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gtk_gui
    15 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gl_gui
    16 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gl_gui/glmenu
     14AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gl
     15AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gl/glmenu
    1716AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/lang
    1817AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/shell
  • branches/gui/src/lib/BuildLibs.am

    r7954 r8140  
    33                $(LIB_PREFIX)/libORXlibs.a \
    44                $(LIB_PREFIX)/shell/libORXshell.a \
    5                 $(LIB_PREFIX)/gui/qt_gui/libORXqtgui.a \
    6                 $(LIB_PREFIX)/gui/gl_gui/libORXglgui.a \
     5                $(LIB_PREFIX)/gui/qt/libORXqtgui.a \
     6                $(LIB_PREFIX)/gui/gl/libORXglgui.a \
    77                $(LIB_PREFIX)/gui/libORXbasegui.a \
    88                $(LIB_PREFIX)/graphics/importer/libORXimporter.a \
  • branches/gui/src/lib/gui/Makefile.am

    r7661 r8140  
    2323SUBDIRS = \
    2424        . \
    25         gl_gui \
    26         qt_gui
     25        gl \
     26        qt
    2727
    2828#       gtk_gui
  • branches/gui/src/lib/gui/gl/glgui_slider.cc

    r8117 r8140  
    161161  {
    162162    GLGuiWidget::resize();
    163     this->frontRect().setTopLeft(5, this->getSizeY2D()/2.0 - 2.0);
    164     this->frontRect().setSize(this->getSizeX2D() - 10.0, 4.0);
     163    this->frontRect().setTopLeft(this->borderLeft(), this->getSizeY2D()/2.0 - 2.0);
     164    this->frontRect().setSize(this->getSizeX2D() - borderLeft() - borderRight(), 4.0);
    165165  }
    166166
     
    231231    this->drawRect(this->frontRect());
    232232
    233     this->drawRect(Rect2D(this->sliderPosition()-_sliderWidth/2.0, borderTop(), _sliderWidth, this->getSizeY2D() - (borderTop() + borderBottom())));
     233    this->drawRect(Rect2D(this->sliderPosition()-_sliderWidth/2.0, 0*this->borderTop(), _sliderWidth, this->getSizeY2D() - (borderTop() + borderBottom()) +20));
    234234
    235235    this->endDraw();
  • branches/gui/src/lib/gui/gl/glgui_widget.cc

    r8118 r8140  
    7171    this->_borderLeft = 1.0;
    7272    this->_borderRight = 1.0;
    73     this->_borderTop = 1.0;
     73    this->_borderTop = 20.0;
    7474    this->_borderBottom = 1.0;
    7575  }
  • branches/gui/src/lib/gui/gl/glgui_widget.h

    r8115 r8140  
    160160    float                          _borderBottom;
    161161
     162    Vector2D                       _minSize;
     163
    162164    /// EVENTS
    163165    bool                           _focusable;        //!< If this widget can receive focus.
  • branches/gui/src/lib/math/rect2D.cc

    r7919 r8140  
    3636Rect2D::Rect2D(float x, float y, float width, float height)
    3737{
    38   this->setLeft(x), this->setTop(y);
     38  this->setLeft(x),
     39  this->setTop(y);
    3940  this->setSize(width, height);
    4041}
  • branches/gui/src/orxonox.cc

    r7954 r8140  
    3030#include "globals.h"
    3131
    32 #include "gui/qt_gui/qt_gui.h"
     32#include "gui/qt/qt_gui.h"
    3333
    3434#include "file.h"
Note: See TracChangeset for help on using the changeset viewer.