X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Jens Kallup" Newsgroups: comp.os.msdos.djgpp Subject: GRX Context Problem Date: Sat, 21 Jul 2012 19:24:34 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Lines: 45 Message-ID: <500ae5d2$0$3602$6e1ede2f@read.cnntp.org> Organization: CNNTP NNTP-Posting-Host: e223e8f5.read.cnntp.org X-Trace: DXC=A5`ka1 AT GfM[bdcSMg1E_;UWoT\PAgXa?QYCGYEXk[F^\hc9^F:TN^XSN1\<93J]KEWj5jgMh=iOHVVJ AT RQDmEb[W X-Complaints-To: abuse AT cnntp DOT org X-Received-Bytes: 1831 Bytes: 1936 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello Community, I have following small C code, compilable with gcc 4.7 and the new version of the GRX 280 libarie #include #include static GrContext *grctx_global = NULL; static GrContext *grctx_win = NULL; int main(int argc, char **argv) { char text[256]; GrSetMode(GR_width_height_color_graphics, 800, 600,24); GrClearScreen(GrAllocColor(0,64,200)); grctx_global = GrCreateSubContext(100,100,400,400,NULL,NULL); grctx_win = GrCreateSubContext(10,10,150,150,grctx_global, NULL); GrSetContext(grctx_global); GrClearContext(GrAllocColor(0,200,164)); GrSetContext(grctx_win); GrClearContext(GrAllocColor(0,255,0)); while (getc(stdin) != 'b'); GrCircle(100,100,20,GrAllocColor(255,255,255)); GrResizeSubContext(grctx_win,100,100,150,150); while (getc(stdin) != 'q'); GrSetMode(0); } The Problem is, that i can't realize that the win context is not moved or resized. What make i false - any tips are welcome. Thank's Jens