Author Topic: InForm Beta 7 is out now  (Read 608 times)

Offline Unseen Machine

  • QB64 Elite
Re: InForm Beta 7 is out now
« Reply #45 on: June 23, 2018, 11:14:10 PM »
FUNCTION Init (Width%, Height%, Title$, Detail%)
Screen1% = GDK_GL_SCREEN(Width%, Height%, Title$, 0) '// Create a screen
IF Screen1% THEN
   GDK_GL_SCREEN_SET_FPS 15, 0 '    // Set maximium frames per second
   glClearColor 0.0, 0.0, 0.0, 1.0 '// Set background (clear) color to black
   glClearDepth 1 '                 // Set clear depth value to farthest
   glEnable GL_DEPTH_TEST '         // Enables depth buffer for hidden surface removal
   glEnable GL_TEXTURE_2D '         // Enable texturing
   glEnable GL_CULL_FACE
   glFrontFace GL_CW

   SELECT CASE Detail%
      CASE 1, 2
         glHint GL_LINE_SMOOTH_HINT, GL_FASTEST
         glHint GL_TEXTURE_COMPRESSION_HINT, GL_FASTEST
         glHint GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST
      CASE 3
         glHint GL_LINE_SMOOTH_HINT, GL_NICEST
         glHint GL_TEXTURE_COMPRESSION_HINT, GL_NICEST
         glHint GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST
   END SELECT

   glShadeModel GL_FLAT
   glMatrixMode GL_PROJECTION
   AspectRatio! = GDK_GL_SCREEN_WIDTH(0) / GDK_GL_SCREEN_HEIGHT(0)
   gluPerspective 45, AspectRatio!, 1, 3600
   glMatrixMode GL_MODELVIEW
   glLoadIdentity
   SCREEN _NEWIMAGE(400, 768, 32)
   Init = -1
ELSE
   Init = 0
END IF

Re: InForm Beta 7 is out now
« Reply #46 on: June 24, 2018, 07:33:47 PM »
Hi Fellippe

a little feedback

I call Inform to change some items in a form previously made.
So I open file .frm, change items, save only .frm and exit. On exit I choose to not save all (.frm+.bas)
and I get an error... going to look at into .frm I find a wrong code in .frm as showed by image attached.
This is the second time I get this, at first time I have thought that it was a mine error.


I hope it will be useful

Online FellippeHeitor

  • QB64 Developer
  • LET IT = BE
    • QB64.org
Re: InForm Beta 7 is out now
« Reply #47 on: June 24, 2018, 07:42:18 PM »
Indeed a bug, Tempodi. Thanks for reporting.