wxWidgets Programming: Sizer, Frame and Panel

wxwidget-gui-library 个人感觉在 编程时,一开始最难于理解和使用的就是,尤其是在与各种控件、Panel嵌套搭配的时候,包括对控件间隙以及父窗口大小发生改变时各个控件的变化定义等。在网上发现这篇文章非常详细的总结了, Frame和Panel的关系并通过简单的实例深入浅出地讲解了这一部分,转载在此供大家参考,如果你有相关技术问题或者开发心得也可以发评论参加讨论。

[原文如下] 最近在研究跨平台的C/C++ GUI库,基本说来功能强大,稳定且开源的库就是了,关于他们之间具体的比较详见《WxWidgets Compared To Other Toolkits》。 N年以前研究过一段时间的代码,不过主要因为其在开发商用软件还是要一定的license费用,所以不能说是真正的免费跨平台。 则是一套免费开源的跨平台C++ GUI库,它的一个特点就是可以转换为native 的api图形界面。就是说用同样的代码,在平台看起来就是window风格的,在X 平台看起来就是风格的。

Continue reading wxWidgets Programming: Sizer, Frame and Panel - 全文阅读

Setting up Code::Blocks to work with SDL - 多媒体编程库

tmobile-sdl - Simple DirectMedia Layer, is a cross-platform designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning port of "Civilization: Call To Power."

supports , , CE, BeOS, MacOS, Mac OS X, , NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains support for AmigaOS, Dreamcast, Atari, AIX, OSF/Tru64, RISC OS, SymbianOS, and OS/2, but these are not officially supported.  is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, C#, D, Eiffel, Erlang, Euphoria, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, Pike, Pliant, Python, Ruby, Smalltalk, and Tcl.  is distributed under GNU version 2. This license allows you to use freely in commercial programs as long as you link with the dynamic library. – libsdl.org

Continue reading Setting up Code::Blocks to work with SDL - 多媒体编程库 - 全文阅读

如何在Windows上安装Code Blocks 8.02官方发布版

本文档依照发布,转载请注明出处:codeblocks.org/ide.cbforge.com 翻译,Bryan@CBForge.

20070405173053521 安装步骤:

1. 通过下面的链接下载CB官方安装包,如果你还没有安装,可以选择下载绑定的CB软件包;

2. 按照每步的说明运行安装;

3. 如果你想安装其他编译器,可参考安装文件中信息,我们也会稍后提供相关的详细说明【cbforge.com注】;

4. 如果没有安装绑定的版本,你需要手工配置编译器

以下是原文:

Install steps
  1. Download the Code::Blocks 8.02 installer. If you know you don’t have installed, download the package which has bundled.
  2. Run the installer, it’s a standard installer for ; just press Next after reading each screen.
  3. If you’re planning installing a after you’ve installed Code::Blocks, read the information provided in the installer.
  4. If you downloaded the installer which doesn’t come with , you may have to configure the manually (usually Code::Blocks’ auto detects the ).

Retrieved from "http://wiki.codeblocks.org/index.php?title=Installing_the_latest_official_version_of_Code::Blocks_on_Windows"

Contact us

Admin: Bryan Wu