Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~5K People Reached
Favorite Tags
Member Avatar for honest.gideon
Member Avatar for BirdaoGwra

Hi, Sorry, If this question is not appropriate to this section. Admin, kindly move this qeustion. I recently changed my tdm-gcc-5.1.0-3 to tdm-gcc-9.2.0, 32 bit. Before changing the gcc my software was working fine, compiled without any problem. But today I installed gcc 9.2.0 and I can't compile my sofware …

0
39
Member Avatar for BirdaoGwra

Hi, I am getting an error while making a vector. frame.h #include <wx/wx.h> class Frame : public wxPanel { public: Frame(wxPanel* parent, int xx, int yy); ~Frame(); private: int x; int y; } frame.cpp #include "frame.h" Frame::Frame(wxPanel* parent, int xx, int yy) :wxPanel(parent) { x = xx; y = yy; …

0
839
Member Avatar for BirdaoGwra

Hi, I am trying to test this timer movement and I just don't understand why the rectanglee is not moving right and down. Here is a simple test. Using GLFW. #include <GL/glfw.h> #include <stdlib.h> void Init() { //! Create the viewport and projection glClearColor(0.4f,0.4f,0.4f,1.0f); glViewport(0, 0, 800, 600); glMatrixMode(GL_PROJECTION); glLoadIdentity(); …

Member Avatar for BirdaoGwra
0
410
Member Avatar for BirdaoGwra

Hi, This is prity basic question but I am a little stuck with it. I have a class with a member variable in it. There are three files, say a, b and c. in file b.cpp - class b { public: ----- ----- int i; } in file c.cpp - …

Member Avatar for BirdaoGwra
0
191
Member Avatar for BirdaoGwra

Hi, I have some images which I update like below: count++; if(count >= sizeOfArray) { count = 0; } for(u32 i=0; i<sizeOfArray; i++) { s_image[i].image->setVisible(false); s_image[i].reverse->setVisible(false); } I want to know, how do I reverse it. I mean, it is increasing the count and I want to decrease it. The …

Member Avatar for BirdaoGwra
0
131
Member Avatar for BirdaoGwra

Hi, I just installed apache 2 and it is running. I have created two virtual hosts and I can browse them without problem. Even from other computer, mobile phone, using the IP, I can browse my index page. I registered in no-ip and hosted a subdomain to get rid of …

Member Avatar for skilly
0
212
Member Avatar for BirdaoGwra

Hi, Here is my code. [CODE]# class DefaultTamplate import wx import Image BUFFERED = 1 class FourByTwo(wx.Window): def __init__(self, parent, id=-1, image="JPEGImage", size=wx.DefaultSize): wx.Window.__init__(self, parent, id, image, size=size) self.SetBackgroundColour("white") self.W = 384 self.H = 272 self.photo = image # wx.Image("Test.jpg", wx.BITMAP_TYPE_JPEG) self.FrameSize = 96 self.SetVirtualSize((self.W, self.H)) if BUFFERED: self._Buffer = …

Member Avatar for BirdaoGwra
0
290
Member Avatar for BirdaoGwra

HI, Could someone kindly tell me how to change the x y position of an empty bitmap. Say I have a rectangle on the window now I want to position the EmptyBitmap according to x y position of that rectangle? Thanks in advance Regards

Member Avatar for richieking
0
160
Member Avatar for BirdaoGwra

Hi, Right now I have this. And I could not understand how to sort it out: [CODE]def onView(self): img = wx.EmptyImage(240,240) filepath = self.filedlg.GetPath() img = wx.Image(filepath, wx.BITMAP_TYPE_ANY) img = img.Scale(240,240) picture = ogl.BitmapShape() picture.SetBitmap(wx.BitmapFromImage(img)) self.canvas.AddShape(picture)[/CODE] I want to load an image with fileDialog into a wx ogl canvas. Thanks …

Member Avatar for BirdaoGwra
0
118
Member Avatar for BirdaoGwra

Hi, It is my code: [CODE]mylist = [['fiss','giss'], ['e','h'], ['d','u'], ['c','t'], ['b','o'], ['a','z']] for alist in mylist: g = ' '.join(alist) print g f = open("write.txt", "w") f.write(g) f.close()[/CODE] How will I write all the words in the txt file. it is only writing the last line of the file. …

Member Avatar for Tommymac501
0
134
Member Avatar for BirdaoGwra

Hi, I am making a simple application where it reads and loads words from a text file into a ListCtrl(lc_report) in wxPython. There are only two column. i am loading it like this : [CODE]f=open('Test.txt','r') all_words = map(lambda l: l.split(" "), f.readlines())[/CODE] And in Test.txt file, there are some words …

Member Avatar for richieking
0
197
Member Avatar for Dha...1

I'm quite new to Game Programming. I'm currently learning C++ at its deepest... ;) And, it seems that there are just too many options available to get into the industry. From searching and digging in this very forum and other resources, it seems that C++ is the best suited language …

Member Avatar for BirdaoGwra
0
135
Member Avatar for BirdaoGwra

Hi, Could someone kindly tell me how to stop maximizing a dialog box with cursor? Like, when we create a toplevel window, it is possible to maximize that window with mouse, holding its border. I want to fix the size of the window? How? Thanks in advance Regards

Member Avatar for BirdaoGwra
0
133
Member Avatar for BirdaoGwra

Hi, I am asking here three question together rather than making separate threads for each question. I am making an application where I can load images in a canvas. I load the image with file menu askopenfilename dialog box. Something like this: [CODE]class MyApp(object): def __init__(self, master): frame = tk.Frame(master) …

Member Avatar for BirdaoGwra
0
2K