TPT GUI

  • jalfor
    4th Jun 2011 Member 0 Permalink
    I don't know if I've put this in the right place but I'm just curious, what GUI thing or whatever its called does TPT use.
  • TheTempest
    4th Jun 2011 Member 0 Permalink
    MinGW if I'm thinking of the right thing...
  • bbqroast
    4th Jun 2011 Member 0 Permalink
    Erm tempest MinGW is a compiler, Its likely that TPT is compiled in it (C++ is all one language but setting up different compilers with big projects is a pain).
    From what I've seen in the TPT directory it uses SDL, as I can't see any images (yes they could be cleverly packaged) ima assume TPT just draws everything pixel by pixel (I mean the material type icons and stuff, TPT probably also uses a font library).
  • cracker64
    4th Jun 2011 Developer 0 Permalink
    Everything drawn is by pixel (draw line/box functions, and those draw by pixel), and the font is custom too. The icons for menu things are in hex format in font.h
  • jalfor
    4th Jun 2011 Member 0 Permalink
    how do you draw a pixel, don't you need something to draw the pixel for you?
  • The-Fall
    4th Jun 2011 Member 0 Permalink
    Thats the GPU and windows or the OS visual interface.
  • limelier
    4th Jun 2011 Member 0 Permalink
    Hmmm... I think we should have a sleeker UI. Yes, this looks classic, but only a little, not much.
  • me4502
    4th Jun 2011 Member 0 Permalink
  • limelier
    4th Jun 2011 Member 0 Permalink
    I know... I was just thinking.. Nevermind ._.
  • jalfor
    4th Jun 2011 Member 0 Permalink
    I sincerely apologize for this complete show of nubbishness but could someone either show me how you would make a piece of code to just even draw a pixel or point me to a site which has a tutorial on this?

    anyone? dudes/dudettes