-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: BitmapHeader.hpp modified: Icon.cpp modified: Icon.hpp modified: IconDir.hpp modified: IconDirEntry.hpp modified: IconImage.hpp modified: IconMgr.cpp modified: IconMgr.hpp modified: IconsVar.cpp modified: IconsVar.hpp new file: Makefile new file: Makefile.common modified: RgbQuad.hpp modified: intro.cpp modified: main.cpp
- Loading branch information
Showing
15 changed files
with
417 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
#include <cstdlib> | ||
#include <cstring> | ||
|
||
#include "Icon.hpp" | ||
|
||
int Os2Icon::ipow(int b, int e){ | ||
int p=b; | ||
while(--e) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
#include <iostream> | ||
|
||
#include "IconMgr.hpp" | ||
|
||
using namespace std; | ||
|
||
#define ICONO_20X20 20 | ||
#define ICONO_40X40 40 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#include "IconsVar.hpp" | ||
|
||
IconBIH::IconBIH(){ | ||
cbFix = 0; | ||
cx = 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
# | ||
# Configuration parts of GNU Make/GCC build system. | ||
# Copyright (C) 2014 by KO Myung-Hun <[email protected]> | ||
# | ||
# This file is part of GNU Make/GCC build system. | ||
# | ||
# This program is free software. It comes without any warranty, to | ||
# the extent permitted by applicable law. You can redistribute it | ||
# and/or modify it under the terms of the Do What The Fuck You Want | ||
# To Public License, Version 2, as published by Sam Hocevar. See | ||
# http://www.wtfpl.net/ for more details. | ||
# | ||
|
||
##### Configuration parts that you can modify | ||
|
||
# specify sub directories | ||
SUBDIRS := | ||
|
||
# specify gcc compiler flags for all the programs | ||
CFLAGS := | ||
|
||
# specify g++ compiler flags for all the programs | ||
CXXFLAGS := -DOS2EMX_PLAIN_CHAR=1 | ||
|
||
# specify linker flags such as -L option for all the programs | ||
LDFLAGS := | ||
|
||
# specify dependent libraries such as -l option for all the programs | ||
LDLIBS := | ||
|
||
ifdef RELEASE | ||
# specify flags for release mode | ||
CFLAGS += | ||
CXXFLAGS += | ||
LDFLAGS += | ||
else | ||
# specify flags for debug mode | ||
CFLAGS += | ||
CXXFLAGS += | ||
LDFLAGS += | ||
endif | ||
|
||
# specify resource compiler, default is rc if not set | ||
RC := | ||
|
||
# specify resource compiler flags | ||
RCFLAGS := | ||
|
||
# Variables for programs | ||
# | ||
# 1. specify a list of programs without an extension with | ||
# | ||
# BIN_PROGRAMS | ||
# | ||
# Now, assume | ||
# | ||
# BIN_PROGRAMS := program | ||
# | ||
# 2. specify sources for a specific program with | ||
# | ||
# program_SRCS | ||
# | ||
# the above is REQUIRED | ||
# | ||
# 3. specify various OPTIONAL flags for a specific program with | ||
# | ||
# program_CFLAGS for gcc compiler flags | ||
# program_CXXFLAGS for g++ compiler flags | ||
# program_LDFLAGS for linker flags | ||
# program_LDLIBS for dependent libraries | ||
# program_RCSRC for rc source | ||
# program_RCFLAGS for rc flags | ||
# program_DEF for .def file | ||
# program_EXTRADEPS for extra dependencies | ||
|
||
BIN_PROGRAMS := winico | ||
|
||
winico_SRCS := intro.cpp main.cpp Icon.cpp IconMgr.cpp IconsVar.cpp | ||
|
||
# Variables for libraries | ||
# | ||
# 1. specify a list of libraries without an extension with | ||
# | ||
# BIN_LIBRARIES | ||
# | ||
# Now, assume | ||
# | ||
# BIN_PROGRAMS := library | ||
# | ||
# 2. specify sources for a specific library with | ||
# | ||
# library_SRCS | ||
# | ||
# the above is REQUIRED | ||
# | ||
# 3. set library type flags for a specific library to a non-empty value | ||
# | ||
# library_LIB to create a static library | ||
# library_DLL to build a DLL | ||
# | ||
# either of the above SHOULD be SET | ||
# | ||
# 4. specify various OPTIONAL flags for a specific library with | ||
# | ||
# library_CFLAGS for gcc compiler flags | ||
# library_CXXFLAGS for g++ compiler flags | ||
# | ||
# the above is common for LIB and DLL | ||
# | ||
# library_DLLNAME for customized DLL name without an extension | ||
# library_LDFLAGS for linker flags | ||
# library_LDLIBS for dependent libraries | ||
# library_RCSRC for rc source | ||
# library_RCFLAGS for rc flags | ||
# library_DEF for .def file, if not set all the symbols are exported | ||
# library_NO_DEF if set, .def file is not generated automatically | ||
# library_EXTRADEPS for extra dependencies | ||
# | ||
# the above is only for DLL | ||
|
||
BIN_LIBRARIES := | ||
|
||
include Makefile.common | ||
|
||
# additional stuffs |
Oops, something went wrong.