Click here to Skip to main content
14,212,087 members
Click here to Skip to main content

Stats

72.6K views
6.9K downloads
88 bookmarked

Writing a Platform and GUI Toolkit Independent OpenGL Class

,
Rate this:
4.95 (30 votes)
Please Sign up or sign in to vote.
4.95 (30 votes)
1 Nov 2010     CPOL    
Article showing how to write OS and GUI toolkit portable OpenGL view class
basecode
linux
MultiGL
GLView
GLViewGTKApp
.project
AUTHORS
autom4te.cache
output.0
requests
traces.0
ChangeLog
config.guess
config.h.in
config.sub
configure
configure.in
COPYING
depcomp
glviewgtkapp.gladep
INSTALL
install-sh
Makefile.am
Makefile.in
missing
mkinstalldirs
NEWS
po
ChangeLog
Makefile.in.in
POTFILES.in
README
src
Makefile.am
Makefile.in
stamp-h.in
GLViewMotifApp
.project
autom4te.cache
output.0
requests
traces.0
config.h.in
configure
configure.ac
depcomp
install-sh
Makefile.am
Makefile.in
missing
src
Makefile.am
Makefile.in
GLViewQtApp
.project
GLViewQtApp.ico
GLViewQtApp.pro.user
glviewqtapp.qrc
Makefile
Resources
.project
autom4te.cache
output.0
requests
traces.0
config.guess
config.h.in
config.sub
configure
configure.ac
depcomp
install-sh
m4
Makefile.am
Makefile.in
missing
src
Makefile.am
Makefile.in
win32
MultiGL
GLView
GLViewGTKApp
AUTHORS
ChangeLog
configure.in
devcpp
glviewgtkapp.dev
glviewgtkapp.gladep
Makefile.am
msvc
glviewgtkapp.suo
glviewgtkapp.vcproj
NEWS
po
ChangeLog
POTFILES.in
README
src
Makefile.am
stamp-h.in
GLViewMFCDlgApp
GLViewMFCDlgApp.aps
GLViewMFCDlgApp.vcproj
res
GLViewMFCDlgApp.ico
GLViewMFCMDIApp
GLViewMFCMDIApp.vcproj
res
buttons.bmp
filelarge.bmp
filesmall.bmp
GLViewMFCMDIApp.ico
GLViewMFCMDIAppDoc.ico
main.bmp
Toolbar.bmp
Toolbar256.bmp
writelarge.bmp
writesmall.bmp
GLViewQtApp
GLViewQtApp
GLViewQtApp.ico
glviewqtapp.qrc
GLViewQtApp.vcproj
Makefile
moc_glviewqtapp.o
Resources
GLView.cpp.bak
GLView.suo
GLView.vcproj
MultiGL.suo
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by GLViewMFCMDIApp.rc
//
#define IDR_PASTE_MENU				151
#define IDR_WINDOWS_MENU			152
#define IDD_ABOUTBOX				100
#define IDP_OLE_INIT_FAILED			100
#define ID_WRITE_PASTEASHYPERLINK	32770
#define IDB_WRITESMALL				110
#define IDB_WRITELARGE				111
#define IDB_MAIN					112
#define IDB_BUTTONS					113
#define IDB_FILELARGE				114
#define IDB_FILESMALL				115
#define IDR_POPUP_EDIT				119
#define ID_STATUSBAR_PANE1			120
#define ID_STATUSBAR_PANE2			121
#define IDS_STATUS_PANE1			122
#define IDS_STATUS_PANE2			123
#define IDR_MAINFRAME				128
#define IDR_MAINFRAME_256			129
#define IDR_GLViewMFCMDIAppTYPE				130
#define ID_WINDOW_MANAGER			131
#define IDS_WINDOWS_MANAGER			132
#define IDS_RIBBON_FILE				260
#define IDS_RIBBON_NEW				262
#define IDS_RIBBON_OPEN				263
#define IDS_RIBBON_SAVE				264
#define IDS_RIBBON_SAVEAS			265
#define IDS_RIBBON_PRINT			266
#define IDS_RIBBON_PRINT_LABEL		267
#define IDS_RIBBON_PRINT_QUICK		268
#define IDS_RIBBON_PRINT_PREVIEW	269
#define IDS_RIBBON_PRINT_SETUP		270
#define IDS_RIBBON_CLOSE			271
#define IDS_RIBBON_RECENT_DOCS		272
#define IDS_RIBBON_EXIT				273
#define IDS_RIBBON_HOME				274
#define IDS_RIBBON_CLIPBOARD		275
#define IDS_RIBBON_PASTE			276
#define IDS_RIBBON_CUT				277
#define IDS_RIBBON_COPY				278
#define IDS_RIBBON_SELECTALL		279
#define IDS_RIBBON_WINDOW			284
#define IDS_RIBBON_WINDOWS			285
#define IDS_RIBBON_STYLE			286
#define IDS_RIBBON_STYLE_TIP		287
#define IDS_RIBBON_STYLE_DESC		288
#define IDS_RIBBON_STATUSBAR		289
#define IDS_RIBBON_VIEW				290
#define IDS_EDIT_MENU				306

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE	310
#define _APS_NEXT_CONTROL_VALUE		1000
#define _APS_NEXT_SYMED_VALUE		310
#define _APS_NEXT_COMMAND_VALUE		32771
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sharjith
Product Manager Mahindra & Mahindra
India India
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.

Layout: fixed | fluid

Article Copyright 2010 by Sharjith
Everything else Copyright © CodeProject, 1999-2019

Server Web01
Version 2.8.190619.2