Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - call_me_saleh

Pages: [1]
1
problem solved
i had forgotten to give view as a reference

2
Hi I'm trying to make a TextView class to render texts like:

    textView = new TextView("Hello World!");
    textView->render(window);

but at this line i get the force close:
void View::render(sf::RenderTarget *target) {
    target->draw(*view);
}
view is a View class member:
    sf::Drawable *view;

Pages: [1]
anything