Search found 311 matches

by egizz983
December 17th, 2016, 10:48 am
Forum: Everything
Topic: function override
Replies: 9
Views: 2967

Re: function override

I still need your advice here i kind a have issue with a mouse object inside GUIElement , till now i was passing it as a parameter for Update function and some of mouse functions but now i got a problem i want to draw something that called label , and i need mouse coordinates for that , i need point...
by egizz983
December 16th, 2016, 9:37 pm
Forum: Everything
Topic: function override
Replies: 9
Views: 2967

Re: function override

yea i did with

Code: Select all

std::vector<std::shared_ptr<GUIElement>> Elements;
now its seems to be working fine
by egizz983
December 16th, 2016, 8:03 pm
Forum: Everything
Topic: function override
Replies: 9
Views: 2967

Re: function override

albinopapa did u test it ? did it worked ? cuz the other problem and might be the problem that is causing this , is that i am pushing child class on parent class vector and this cause slicing, and i should probably do

Code: Select all

std::vector<std::unique_pt<GUIElement>> Elements;
by egizz983
December 16th, 2016, 1:48 pm
Forum: Everything
Topic: function override
Replies: 9
Views: 2967

function override

Hi guys have issue with my GUI system , i am not great debugger but i think problem is inside function overriding , GUIElement class is and entity of all elements and I am making GUITextInput element inside GameStateLogin for some reason its not being displayed , and with debugger i track all the wa...
by egizz983
December 15th, 2016, 9:57 am
Forum: Everything
Topic: Step 1 - The Beginning - By Hidden
Replies: 8
Views: 4524

Re: Step 1 - The Beginning - By Hidden

whats on Janurary 20, 2017 ?
by egizz983
December 14th, 2016, 12:47 pm
Forum: Everything
Topic: new cpp file = circular dependency
Replies: 14
Views: 5314

Re: new cpp file = circular dependency

well i dont know what that means :D
by egizz983
December 14th, 2016, 11:42 am
Forum: Everything
Topic: new cpp file = circular dependency
Replies: 14
Views: 5314

Re: new cpp file = circular dependency

Well this problem comes from no where i mean its never creating a cpp file cause my this issue , and the way i solve this , makes me even more confused , i did only one thing and now its compiles and works as it should be . Graphics.h From this : #include <d3d11.h> #include <wrl.h> #include "ChiliEx...
by egizz983
December 14th, 2016, 9:06 am
Forum: Everything
Topic: new cpp file = circular dependency
Replies: 14
Views: 5314

Re: new cpp file = circular dependency

ChiliWintard.h
i have to include this into each of header and cpp file or only into each of cpp files?
And as far as i know i need to delete only when i call it with a new ? or i am wrong ?
by egizz983
December 13th, 2016, 5:20 pm
Forum: Everything
Topic: new cpp file = circular dependency
Replies: 14
Views: 5314

Re: new cpp file = circular dependency

did u made GameStateLogin.cpp ? cuz i upload without it https://s27.postimg.org/bez9ukoo3/Untitled_1.jpg
and without him its ok everything works
by egizz983
December 13th, 2016, 3:45 pm
Forum: Everything
Topic: new cpp file = circular dependency
Replies: 14
Views: 5314

new cpp file = circular dependency

Why adding cpp file to GameStateLogin.h cause me circular dependency ?
no includes nothing just make new cpp file for GameStateLogin.h and i got 70 errors