Jump to content

Daxterxx

Restricted
  • Posts

    85
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Daxterxx

  1. That last comment had me dying X)
  2. Heres the Issue I have with people who make custom control libraries. People use the following code Import System.Windows.Forms Public Class CustomControl : Inherits Button Public Sub New MyBase.New With Me .Name = "New Custom Button" End With End Sub Public Overrides Sub OnDraw(e As PaintEventArgs) End Sub End Class This is just a standard setup written in vb.net for a custom button control decalring base properties and the drawing of the control. Like JC said above Using this method is just like using a regular old button and pre-defining a buttons image. This has no benefit to doing so. I see you are trying to use SFML to do this same thing. Basically what I'm trying to say here is i'm writing a program that allows you to import an image and it will output the exact code in order to draw the image through code. You could be able to output this to SFML in order to create truly customized SFML based controls with ease. Right now it only out puts into GDI + but I can look into it for you. By doing this it will elimiate the need to decalre windows based shit and use purly written SFML based shit for max preformance. Basically think of it like using SFML in a visual based IDE,......instead of writing code to do it.
×
×
  • Create New...